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/kernel-fitimage.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/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 2ef8f06b14..38e05153e3 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -576,7 +576,7 @@ fitimage_assemble() { | |||
576 | # | 576 | # |
577 | if [ "x${ramdiskcount}" = "x1" ] && [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then | 577 | if [ "x${ramdiskcount}" = "x1" ] && [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then |
578 | # Find and use the first initramfs image archive type we find | 578 | # Find and use the first initramfs image archive type we find |
579 | for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz ext2.gz cpio; do | 579 | for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst cpio.gz ext2.gz cpio; do |
580 | initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" | 580 | initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" |
581 | echo "Using $initramfs_path" | 581 | echo "Using $initramfs_path" |
582 | if [ -e "${initramfs_path}" ]; then | 582 | if [ -e "${initramfs_path}" ]; then |