add xz compression to squashfs

This commit is contained in:
Ward from fusion-voyager-3 2024-08-01 15:49:39 +03:00
parent abda06cc97
commit 1eb199ac41

View File

@ -43,7 +43,12 @@ umount "$ROOTFS_PATH/sys" || umount -lf "$ROOTFS_PATH/sys" || true
mksquashfs \ mksquashfs \
"$ROOTFS_PATH" \ "$ROOTFS_PATH" \
"$LIVE_BOOT_PATH/live/filesystem.squashfs" \ "$LIVE_BOOT_PATH/live/filesystem.squashfs" \
-e boot -e boot \
-noappend \
-comp xz \
-b 1M \
-Xdict-size 1M \
-Xbcj x86
# Copy Kernel to live # Copy Kernel to live
cp "$ROOTFS_PATH/boot"/vmlinuz-* \ cp "$ROOTFS_PATH/boot"/vmlinuz-* \