1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-18 07:56:19 +01:00
Files
operating-system/buildroot-external/genimage/images-os.cfg
Jan Čermák edba18f6c4 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.
2024-08-07 20:14:13 +02:00

21 lines
393 B
INI

image kernel.img {
size = ${KERNEL_SIZE}
srcpath = "${BINARIES_DIR:-PLEASE_SPECIFY_BINARIES_DIR}/${KERNEL_FILE:-PLEASE_SPECIFY_KERNEL_FILE}"
squashfs {
compression = "lzo"
block-size = 131072
}
}
image overlay.ext4 {
size = ${OVERLAY_SIZE}
empty = "yes"
ext4 {
use-mke2fs = "yes"
label = "hassos-overlay"
extraargs = "-I 256 -E lazy_itable_init=0,lazy_journal_init=0"
}
}