summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-03-22 20:25:27 -0300
committerGitHub <noreply@github.com>2022-03-22 20:25:27 -0300
commit2d0ef3e83549f39d9298b3e5449aae0e57cbc9e9 (patch)
treea4b62174b450f6d78f4c6b26757d12f3f48e14be
parentedcc471497a299871b81c79a60dd56c81bc2ceeb (diff)
parent19e17a19f824fdca782382b4fbb1234acbba5336 (diff)
downloadmeta-freescale-2d0ef3e83549f39d9298b3e5449aae0e57cbc9e9.tar.gz
Merge pull request #1014 from thochstein/master
mfgtool-initramfs-image: Switch to zstd compression
-rw-r--r--classes/kernel-itbimage.bbclass2
-rw-r--r--classes/mfgtool-initramfs-image.bbclass3
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"
12FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" 12FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs"
13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" 13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs"
14 14
15IMAGE_FSTYPES = "cpio.gz.u-boot" 15ZSTD_COMPRESSION_LEVEL ?= "-10"
16IMAGE_FSTYPES = "cpio.zst.u-boot"
16IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" 17IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot"
17IMAGE_ROOTFS_SIZE ?= "8192" 18IMAGE_ROOTFS_SIZE ?= "8192"
18 19