]> git.lizzy.rs Git - plan9front.git/commitdiff
kernel: increase bootfs.paq compression level and blocksize
authorcinap_lenrek <cinap_lenrek@felloff.net>
Wed, 28 Jul 2021 00:38:00 +0000 (00:38 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Wed, 28 Jul 2021 00:38:00 +0000 (00:38 +0000)
With the intel wifi firmware, this saves around 3MB of the
kernel image size.

sys/src/9/boot/bootmkfile

index d34e54271bba81be1c1b6c310b9753d8b2029769..bb135d689b124a3e93a9c632f79ece973dba2c60 100644 (file)
@@ -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