From 1eb199ac414808f85e06c197344a920ab4384d00 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 1 Aug 2024 15:49:39 +0300 Subject: [PATCH] add xz compression to squashfs --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7b77143..3bb8b6c 100755 --- a/build.sh +++ b/build.sh @@ -43,7 +43,12 @@ umount "$ROOTFS_PATH/sys" || umount -lf "$ROOTFS_PATH/sys" || true mksquashfs \ "$ROOTFS_PATH" \ "$LIVE_BOOT_PATH/live/filesystem.squashfs" \ - -e boot + -e boot \ + -noappend \ + -comp xz \ + -b 1M \ + -Xdict-size 1M \ + -Xbcj x86 # Copy Kernel to live cp "$ROOTFS_PATH/boot"/vmlinuz-* \