Skip to content

Commit 31fceee

Browse files
committed
ci: compress squashfs with zstd
Compress squashfs with zstd since that now we have CONFIG_SQUASHFS_ZSTD=y in all our guest kernels. In my tests it is 78MB vs 85MB (an 8.2% reduction) Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent d6e3248 commit 31fceee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/guest_configs/ci.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CONFIG_IKCONFIG=y
22
CONFIG_IKCONFIG_PROC=y
33
CONFIG_MSDOS_PARTITION=y
4+
CONFIG_SQUASHFS_ZSTD=y
45
# aarch64 only TBD split into a separate file
56
CONFIG_DEVMEM=y
67
# CONFIG_ARM64_ERRATUM_3194386 is not set

resources/rebuild.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ EOF
7979
id_rsa=$OUTPUT_DIR/$ROOTFS_NAME.id_rsa
8080
cp id_rsa $id_rsa
8181

82-
# -comp zstd but guest kernel does not support
8382
rootfs_img="$OUTPUT_DIR/$ROOTFS_NAME.squashfs"
8483
mv $rootfs/root/manifest $OUTPUT_DIR/$ROOTFS_NAME.manifest
85-
mksquashfs $rootfs $rootfs_img -all-root -noappend
84+
mksquashfs $rootfs $rootfs_img -all-root -noappend -comp zstd
8685
rm -rf $rootfs
8786
for bin in fast_page_fault_helper fillmem init readmem; do
8887
rm $PWD/overlay/usr/local/bin/$bin

0 commit comments

Comments
 (0)