mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-04-18 07:56:19 +01:00
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.
21 lines
393 B
INI
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"
|
|
}
|
|
}
|