From b0fef0b3dde600253ab0404484dd255530bf1552 Mon Sep 17 00:00:00 2001 From: Danieliskot Date: Mon, 19 Jun 2023 00:03:56 +0200 Subject: [PATCH] add 50% io usage limit to mksquashfs fix unknown arg for xorriso --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index ceef8be..b5b4fcf 100755 --- a/build +++ b/build @@ -56,7 +56,7 @@ time ( mknod ${tmpRoot}/dev/tty3 c 4 3 mknod ${tmpRoot}/dev/tty4 c 4 4 for i in zstd xz lzma bzip2 gzip; do - mksquashfs ${tmpRoot} ${DATA}/${DISTRO}/system.sfs -comp ${i} -noappend + mksquashfs ${tmpRoot} ${DATA}/${DISTRO}/system.sfs -comp ${i} -noappend -limit 50 [ -e ${DATA}/${DISTRO}/system.sfs ]&&break done mv -f ${INITRD} ${DATA}/initrd.img @@ -76,7 +76,7 @@ MLB_NAME="${DISTRO}" MLB_UTC="${utc}" eot [[ ${ret} = 2 ]]&&echo "MLB_ELF_STATIC_INITRD=\"1\"" >>.MlbMeta||echo "MLB_ELF_STATIC_INITRD=\"0\"" >>.MlbMeta - xorriso -as mkisofs -o /${DISTRO}-${utc}.iso -allow-limited-size -iso-level 3 -J -R -D -A ${DISTRO} -V ${DISTRO} -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux.bin -c isolinux.boot -eltorito-alt-boot -e /efi.img -no-emul-boot . + xorriso -as mkisofs -o /${DISTRO}-${utc}.iso -iso-level 3 -J -R -D -A ${DISTRO} -V ${DISTRO} -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux.bin -c isolinux.boot -eltorito-alt-boot -e /efi.img -no-emul-boot . isohybrid --version >/dev/null 2>&1&&isohybrid -u /${DISTRO}-${utc}.iso cd ${top} rm -rf ${workTmpDir}