diff --git a/usr/bin/archboot-update-installer.sh b/usr/bin/archboot-update-installer.sh index 7b8a646b6..bb7228f59 100755 --- a/usr/bin/archboot-update-installer.sh +++ b/usr/bin/archboot-update-installer.sh @@ -133,7 +133,7 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then # compress image with zstd find . -mindepth 1 -printf '%P\0' | sort -z | LANG=C bsdtar --uid 0 --gid 0 --null -cnf - -T - | - LANG=C bsdtar --null -cf - --format=newc @- | lz4 -l > /initrd.img || exit 1 + LANG=C bsdtar --null -cf - --format=newc @- | lz4 -l -9> /initrd.img || exit 1 cd .. echo "Step 7/8: Remove /initrd ..." rm -r "/initrd" || exit 1