Skip to content

Commit d8630ac

Browse files
committed
Bump OpenHarmony version to 6.1
1 parent 5a20d6e commit d8630ac

8 files changed

Lines changed: 25 additions & 23 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OpenHarmony-v6.0-Release
2-
code-v6.0-Release.tar.gz
1+
OpenHarmony-v6.1-Release
2+
code-v6.1-Release.tar.gz
33
system
44
ramdisk
55
curl-8.8.0-ohos-arm64

NOTICE.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Notices for file(s):
7171
------------------------------------------------------------
7272
Notices for software(s):
7373
Software: toybox
74-
Version: 0.8.10
74+
Version: 0.8.12
7575
Path: //third_party/toybox
7676
------------------------------------------------------------
7777
Copyright (C) 2006, 2019 by Rob Landley <rob@landley.net>
@@ -149,15 +149,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
149149

150150
============================================================
151151
Notices for file(s):
152+
/etc/ld-musl-namespace-aarch64-New.ini
153+
/etc/ld-musl-namespace-aarch64-flex.ini
152154
/etc/ld-musl-namespace-aarch64.ini
153155
------------------------------------------------------------
154156
Notices for software(s):
155157
Software: musl
156158
Version: 1.2.5
157159
Software: OpenBSD
158-
Version: 7.6
159-
Software: openEuler:jemalloc
160-
Version: 5.3.0-1.oe2203sp3
160+
Version: 7.8
161161
Path: //third_party/musl
162162
------------------------------------------------------------
163163
musl as a whole is licensed under the following standard MIT license:
@@ -1749,7 +1749,7 @@ Notices for file(s):
17491749
------------------------------------------------------------
17501750
Notices for software(s):
17511751
Software: PCRE2
1752-
Version: pcre2-10.44
1752+
Version: pcre2-10.46
17531753
Path: //third_party/pcre2
17541754
------------------------------------------------------------
17551755
PCRE2 LICENCE

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ docker exec -it ohos sh
2828
Available tags
2929
| Tag | Description |
3030
|---------|-------------------------------------------------------------------------|
31-
| latest | The latest release (currently equivalent to 6.0). |
31+
| latest | The latest release (currently equivalent to 6.1). |
32+
| 6.1 | An image based on OpenHarmony 6.1 Release. |
3233
| 6.0 | An image based on OpenHarmony 6.0 Release. |
3334
| main | The mainline version, built using the latest build scripts from the main branch of this repository. |
3435

README.zh-CN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ docker exec -it ohos sh
2828
可用的标签
2929
| 标签 | 描述 |
3030
|------------|---------------------------------------------------------- |
31-
| latest | 最新的正式版本(当前等价于 6.0) |
31+
| latest | 最新的正式版本(当前等价于 6.1) |
32+
| 6.1 | 基于 OpenHarmony 6.1 Release 制作的镜像 |
3233
| 6.0 | 基于 OpenHarmony 6.0 Release 制作的镜像 |
3334
| main | 主干版本,基于本仓库 main 分支的最新构建脚本进行构建 |
3435

build-curl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
# Setup ohos-sdk
5-
curl -fLO https://repo.huaweicloud.com/openharmony/os/6.0-Release/ohos-sdk-windows_linux-public.tar.gz
5+
curl -fLO https://repo.huaweicloud.com/openharmony/os/6.1-Release/ohos-sdk-windows_linux-public.tar.gz
66
mkdir /opt/ohos-sdk
77
tar -zxf ohos-sdk-windows_linux-public.tar.gz -C /opt/ohos-sdk
88
cd /opt/ohos-sdk/linux

build-images.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ apt install -y \
3131
WORKDIR=$(pwd)
3232

3333
# Download OpenHarmony source code
34-
rm -rf OpenHarmony-v6.0-Release code-v6.0-Release.tar.gz
35-
aria2c -s 16 -x 16 -k 1M https://repo.huaweicloud.com/openharmony/os/6.0-Release/code-v6.0-Release.tar.gz
36-
tar -zxf code-v6.0-Release.tar.gz
37-
cd OpenHarmony-v6.0-Release/OpenHarmony
34+
rm -rf OpenHarmony-v6.1-Release code-v6.1-Release.tar.gz
35+
aria2c -s 16 -x 16 -k 1M https://repo.huaweicloud.com/openharmony/os/6.1-Release/code-v6.1-Release.tar.gz
36+
tar -zxf code-v6.1-Release.tar.gz
37+
cd OpenHarmony-v6.1-Release/OpenHarmony
3838

3939
# Disable HiLog because the container does not include the HiLog service.
4040
cd third_party/musl/
4141
patch -p1 < $WORKDIR/disable-hilog.patch
4242
cd ../../
4343

4444
# Build OpenHarmony operating system image, output in out/rk3568/packages/phone/images/
45-
./build.sh --product-name rk3568 --target-cpu arm64
45+
./build.sh --product-name rk3568 --target-cpu arm64 --build-target ramdisk_image --build-target system_image

build-rootfs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ apt install -y gzip cpio patchelf
77
# Extract necessary files from the operating system image.
88
rm -rf system ramdisk
99
mkdir system-tmp
10-
mount -o loop OpenHarmony-v6.0-Release/OpenHarmony/out/rk3568/packages/phone/images/system.img system-tmp
10+
mount -o loop OpenHarmony-v6.1-Release/OpenHarmony/out/rk3568/packages/phone/images/system.img system-tmp
1111
cp -r system-tmp system
1212
umount system-tmp
1313
rm -rf system-tmp
1414
mkdir ramdisk
15-
cp OpenHarmony-v6.0-Release/OpenHarmony/out/rk3568/packages/phone/images/ramdisk.img ramdisk/ramdisk.img.gz
15+
cp OpenHarmony-v6.1-Release/OpenHarmony/out/rk3568/packages/phone/images/ramdisk.img ramdisk/ramdisk.img.gz
1616
cd ramdisk
1717
gunzip ramdisk.img.gz
1818
cpio -i -F ramdisk.img

disable-hilog.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
project third_party/musl/
33
diff --git a/ldso/linux/dynlink.c b/ldso/linux/dynlink.c
4-
index 15914ac8..7d21a218 100644
4+
index d27b728ee..313d923a7 100644
55
--- a/ldso/linux/dynlink.c
66
+++ b/ldso/linux/dynlink.c
7-
@@ -3478,9 +3478,6 @@ void __dls3(size_t *sp, size_t *auxv, size_t *aux)
7+
@@ -3778,9 +3778,6 @@ void __dls3(size_t *sp, size_t *auxv, size_t *aux)
88
InitParameterClient();
99
#endif
1010

@@ -15,7 +15,7 @@ index 15914ac8..7d21a218 100644
1515
InstallPACHandler();
1616
#endif
1717
diff --git a/porting/linux/user/src/hilog/hilog_adapter.c b/porting/linux/user/src/hilog/hilog_adapter.c
18-
index bfe1a34c..c73c5025 100644
18+
index bfe1a34cb..c73c50250 100644
1919
--- a/porting/linux/user/src/hilog/hilog_adapter.c
2020
+++ b/porting/linux/user/src/hilog/hilog_adapter.c
2121
@@ -69,32 +69,7 @@ static void Cleanup()
@@ -79,7 +79,7 @@ index bfe1a34c..c73c5025 100644
7979

8080
#ifdef OHOS_ENABLE_PARAMETER
8181
diff --git a/src/hilog/linux/hilog_adapter.c b/src/hilog/linux/hilog_adapter.c
82-
index cbe371d5..a5893367 100644
82+
index df9d343a5..9764930f1 100644
8383
--- a/src/hilog/linux/hilog_adapter.c
8484
+++ b/src/hilog/linux/hilog_adapter.c
8585
@@ -65,19 +65,7 @@ extern int __close(int fd);
@@ -103,7 +103,7 @@ index cbe371d5..a5893367 100644
103103
}
104104

105105
HILOG_LOCAL_API
106-
@@ -234,23 +222,12 @@ int HiLogAdapterVaList(LogType type, LogLevel level, unsigned int domain, const
106+
@@ -248,23 +236,12 @@ int HiLogAdapterVaList(LogType type, LogLevel level, unsigned int domain, const
107107

108108
bool is_musl_log_enable()
109109
{
@@ -128,4 +128,4 @@ index cbe371d5..a5893367 100644
128128
+ return false;
129129
}
130130

131-
#ifdef OHOS_ENABLE_PARAMETER
131+
bool HiLogBaseIsLoggable(unsigned int domain, const char *tag, LogLevel level)

0 commit comments

Comments
 (0)