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>
This commit is contained in:
Zoltán Böszörményi authored and Richard Purdie committed 2021-09-01 14:06:17 +01:00
1 parent 3d2904cab5
commit e492d55d02
5 files changed
+18 -6

No files matched your search

+4
View File
@@ -631,6 +631,10 @@ python () {
if path.endswith('.lz4'):
d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')
# *.zst should DEPEND on zstd-native for unpacking
elif path.endswith('.zst'):
d.appendVarFlag('do_unpack', 'depends', ' zstd-native:do_populate_sysroot')
# *.lz should DEPEND on lzip-native for unpacking
elif path.endswith('.lz'):
d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot')