Skip to content

Commit

Permalink
image-balena: support zst compressed modules
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
  • Loading branch information
jakogut committed Jul 17, 2024
1 parent df352c7 commit 77ce253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-balena-common/classes/image-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ init_config_json() {
def check_for_compressed_kernel_modules(modules_dir):
for root, dirs, files in os.walk(modules_dir, topdown=True):
for name in files:
found_ko = name.endswith(".ko.gz") or name.endswith(".ko.xz")
found_ko = name.endswith(".ko.gz") or name.endswith(".ko.xz") or name.endswith('.ko.zst')
if found_ko:
return found_ko
return False
Expand Down

0 comments on commit 77ce253

Please sign in to comment.