shithub: riscv

Download patch

ref: 37f5069426233b32403d0af5dba37f5400e030b7
parent: df04ea8d6c2e1e75307a77f2b086a836f480ab72
author: cinap_lenrek <[email protected]>
date: Tue Jul 27 20:38:00 EDT 2021

kernel: increase bootfs.paq compression level and blocksize

With the intel wifi firmware, this saves around 3MB of the
kernel image size.

--- a/sys/src/9/boot/bootmkfile
+++ b/sys/src/9/boot/bootmkfile
@@ -18,5 +18,5 @@
 		cd bootfs/$objtype/bin
 		#strip * */* */*/* >[2]/dev/null || status=''
 	}
-	mkpaqfs -o $target bootfs
+	mkpaqfs -9 -b 65536 -o $target bootfs
 	rm -rf bootfs