diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-03-22 20:25:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 20:25:27 -0300 |
commit | 2d0ef3e83549f39d9298b3e5449aae0e57cbc9e9 (patch) | |
tree | a4b62174b450f6d78f4c6b26757d12f3f48e14be /classes | |
parent | edcc471497a299871b81c79a60dd56c81bc2ceeb (diff) | |
parent | 19e17a19f824fdca782382b4fbb1234acbba5336 (diff) | |
download | meta-freescale-2d0ef3e83549f39d9298b3e5449aae0e57cbc9e9.tar.gz |
Merge pull request #1014 from thochstein/master
mfgtool-initramfs-image: Switch to zstd compression
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel-itbimage.bbclass | 2 | ||||
-rw-r--r-- | classes/mfgtool-initramfs-image.bbclass | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/classes/kernel-itbimage.bbclass b/classes/kernel-itbimage.bbclass index 51a87319..91bceb85 100644 --- a/classes/kernel-itbimage.bbclass +++ b/classes/kernel-itbimage.bbclass | |||
@@ -383,7 +383,7 @@ fitimage_assemble() { | |||
383 | # | 383 | # |
384 | if [ "x${ramdiskcount}" = "x1" ] ; then | 384 | if [ "x${ramdiskcount}" = "x1" ] ; then |
385 | # Find and use the first initramfs image archive type we find | 385 | # Find and use the first initramfs image archive type we find |
386 | for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz ext2.gz cpio; do | 386 | for img in cpio.lz4 cpio.lzo cpio.lzma cpio.zst cpio.xz cpio.gz ext2.gz cpio; do |
387 | initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" | 387 | initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.${img}" |
388 | echo "Using $initramfs_path" | 388 | echo "Using $initramfs_path" |
389 | if [ -e "${initramfs_path}" ]; then | 389 | if [ -e "${initramfs_path}" ]; then |
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass index deae9c93..4f67621f 100644 --- a/classes/mfgtool-initramfs-image.bbclass +++ b/classes/mfgtool-initramfs-image.bbclass | |||
@@ -12,7 +12,8 @@ FEATURE_PACKAGES_mtd = "packagegroup-fsl-mfgtool-mtd" | |||
12 | FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" | 12 | FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" |
13 | FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" | 13 | FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" |
14 | 14 | ||
15 | IMAGE_FSTYPES = "cpio.gz.u-boot" | 15 | ZSTD_COMPRESSION_LEVEL ?= "-10" |
16 | IMAGE_FSTYPES = "cpio.zst.u-boot" | ||
16 | IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" | 17 | IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" |
17 | IMAGE_ROOTFS_SIZE ?= "8192" | 18 | IMAGE_ROOTFS_SIZE ?= "8192" |
18 | 19 | ||