Skip to content

Commit

Permalink
kernel-balena: enable zstd module compression
Browse files Browse the repository at this point in the history
Enable zstandard module compression in kernels > v5.13, as this feature
was introduced in commit c3d7ef377eb25, first published in that release.

Change-type: major
Signed-off-by: Joseph Kogut <[email protected]>
  • Loading branch information
jakogut committed Jul 17, 2024
1 parent 77ce253 commit 3aa66ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meta-balena-common/classes/kernel-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ BALENA_CONFIGS ?= " \
${RAID} \
no_gcc_plugins \
${FIRMWARE_COMPRESS} \
${MODULE_COMPRESS} \
${WIREGUARD} \
"

Expand Down Expand Up @@ -222,6 +223,11 @@ BALENA_CONFIGS[firmware_compress] = " \
CONFIG_FW_LOADER_COMPRESS=y \
"

MODULE_COMPRESS = "${@configure_from_version("5.13", "module_compress", "", d)}"
BALENA_CONFIGS[module_compress] = " \
CONFIG_MODULE_COMPRESS_ZSTD=y \
"

WIREGUARD = "${@configure_from_version("5.10", "wireguard", "", d)}"
BALENA_CONFIGS[wireguard] = " \
CONFIG_WIREGUARD=m \
Expand Down

0 comments on commit 3aa66ff

Please sign in to comment.