1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-20 02:18:37 +00:00

Increase block size of kernel squashfs image to 128K (#3509)

While mksquashfs uses this value by default, Genimage's default is 4K. This is
far too low value and results in slower kernel load, especially on embedded
boards with a flash drive. Explicitly set it to 128K to generate same images as
in pre-genimage builds.
This commit is contained in:
Jan Čermák
2024-08-07 20:14:13 +02:00
committed by GitHub
parent 50a0062ee6
commit edba18f6c4

View File

@@ -4,6 +4,7 @@ image kernel.img {
squashfs {
compression = "lzo"
block-size = 131072
}
}