diff options
author | Zoltán Böszörményi <zboszor@gmail.com> | 2021-08-27 09:37:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-01 14:06:17 +0100 |
commit | e492d55d02a658b7c9385dee9c92fdf830b92197 (patch) | |
tree | 42a78d92d6565f3b1a8eed1bee91a1362ede0003 /meta/classes/base.bbclass | |
parent | 3d2904cab5867e450f445a63e0f5e8f7938d355e (diff) | |
download | poky-e492d55d02a658b7c9385dee9c92fdf830b92197.tar.gz |
base/kernel: Support zstd-compressed squashfs and cpio initramfs
Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd
compressed initramfs and squashfs.
(From OE-Core rev: fa146049eec5f9730781830270cc9dc55a2146f7)
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 11b65171d9..340ebe7d78 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -631,6 +631,10 @@ python () { | |||
631 | if path.endswith('.lz4'): | 631 | if path.endswith('.lz4'): |
632 | d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') | 632 | d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') |
633 | 633 | ||
634 | # *.zst should DEPEND on zstd-native for unpacking | ||
635 | elif path.endswith('.zst'): | ||
636 | d.appendVarFlag('do_unpack', 'depends', ' zstd-native:do_populate_sysroot') | ||
637 | |||
634 | # *.lz should DEPEND on lzip-native for unpacking | 638 | # *.lz should DEPEND on lzip-native for unpacking |
635 | elif path.endswith('.lz'): | 639 | elif path.endswith('.lz'): |
636 | d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot') | 640 | d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot') |