From 37f5069426233b32403d0af5dba37f5400e030b7 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 28 Jul 2021 00:38:00 +0000 Subject: [PATCH] kernel: increase bootfs.paq compression level and blocksize With the intel wifi firmware, this saves around 3MB of the kernel image size. --- sys/src/9/boot/bootmkfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/boot/bootmkfile b/sys/src/9/boot/bootmkfile index d34e54271..bb135d689 100644 --- a/sys/src/9/boot/bootmkfile +++ b/sys/src/9/boot/bootmkfile @@ -18,5 +18,5 @@ bootfs.paq: $BOOTFSPROTO `{disk/mkfs -aos / $BOOTFSPROTO >[2]/dev/null} cd bootfs/$objtype/bin #strip * */* */*/* >[2]/dev/null || status='' } - mkpaqfs -o $target bootfs + mkpaqfs -9 -b 65536 -o $target bootfs rm -rf bootfs -- 2.44.0