From ad42a2e0f9c72f2a26db6469684fa726f77b1cf2 Mon Sep 17 00:00:00 2001 From: jchzhou Date: Wed, 27 Sep 2023 17:01:09 +0800 Subject: [PATCH] minor fixes for riscv64 --- script/step/make_riscv64_qemu_image.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/script/step/make_riscv64_qemu_image.sh b/script/step/make_riscv64_qemu_image.sh index f4408d7..da66363 100644 --- a/script/step/make_riscv64_qemu_image.sh +++ b/script/step/make_riscv64_qemu_image.sh @@ -151,8 +151,6 @@ make_rootfs() chroot ${rootfs_dir} /bin/bash -c "echo 'Y' | /chroot.sh" UMOUNT_ALL set -e - # REMINDER: remove the Non-RISC-V openEuler.repo installed by openEuler-repo - rm ${rootfs_dir}/etc/yum.repos.d/openEuler.repo rm ${rootfs_dir}/chroot.sh LOG "make rootfs for ${yum_conf} end." } @@ -241,7 +239,7 @@ make_img() fi if [ -f ${img_file} ]; then sha256sum $(basename ${img_file}) > ${img_file}.sha256sum - xz -T 20 -z -c ${img_file} > ${img_file}.xz + xz -T0 --memlimit=90% -z -c ${img_file} > ${img_file}.xz sha256sum $(basename ${img_file}.xz) > ${img_file}.xz.sha256sum LOG "made sum files for ${img_file}" else -- Gitee