From edba18f6c41539f18e53f285b2c6cbecd509eab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Wed, 7 Aug 2024 20:14:13 +0200 Subject: [PATCH] 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. --- buildroot-external/genimage/images-os.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/buildroot-external/genimage/images-os.cfg b/buildroot-external/genimage/images-os.cfg index 7a1eaeb87..d3aa5fe57 100644 --- a/buildroot-external/genimage/images-os.cfg +++ b/buildroot-external/genimage/images-os.cfg @@ -4,6 +4,7 @@ image kernel.img { squashfs { compression = "lzo" + block-size = 131072 } }