meta-freescale/classes/mfgtool-initramfs-image.bbclass
Jose Quaresma 0e66dee54a mfgtool-initramfs-image: IMAGE_NAME_SUFFIX should by empty for initramfs
INITRAMFS_IMAGE_NAME stay as before but it assumes that all
images used as initramfs will set IMAGE_NAME_SUFFIX to empty.

https://git.yoctoproject.org/poky/commit/?id=6f6c79029bc2020907295858449c725952d560a1

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-07-05 17:06:25 +00:00

44 lines
1.0 KiB
Plaintext

# Generates a Manufacturing Tool Initramfs image
#
# This generates the initramfs used for the installation process. The
# image provides the utilities which are used, in the target, during
# the process and receive the commands from the MfgTool application.
#
# Copyright 2014-2017 (C) O.S. Systems Software LTDA.
DEPENDS += "linux-mfgtool"
FEATURE_PACKAGES_mtd = "packagegroup-fsl-mfgtool-mtd"
FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs"
FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs"
ZSTD_COMPRESSION_LEVEL ?= "-10"
SOC_DEFAULT_IMAGE_FSTYPES = "cpio.zst.u-boot"
SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot"
IMAGE_ROOTFS_SIZE ?= "8192"
IMAGE_NAME_SUFFIX = ""
# Filesystems enabled by default
DEFAULT_FS_SUPPORT = " \
mtd \
extfs \
"
IMAGE_FEATURES = " \
${DEFAULT_FS_SUPPORT} \
\
read-only-rootfs \
"
# Avoid installation of syslog
BAD_RECOMMENDATIONS += "busybox-syslog"
# Avoid static /dev
USE_DEVFS = "1"
inherit core-image
CORE_IMAGE_BASE_INSTALL = " \
${CORE_IMAGE_EXTRA_INSTALL} \
"