Manage the initramfs requirements for Manufacturing Tool use and allow future addition of new filesystem support if needed.
Signed-off-by: Otavio Salvador <[email protected]> --- classes/mfgtool-initramfs-image.bbclass | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 classes/mfgtool-initramfs-image.bbclass diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass new file mode 100644 index 0000000..3c2e445 --- /dev/null +++ b/classes/mfgtool-initramfs-image.bbclass @@ -0,0 +1,26 @@ +DEPENDS += "u-boot-mfgtool linux-mfgtool" + +PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd" +PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs" + +IMAGE_FSTYPES = "cpio.gz.u-boot" +IMAGE_ROOTFS_SIZE ?= "8192" +IMAGE_CLASSES = "image_types_uboot" + +IMAGE_FEATURES = " \ + mtd \ + extfs \ + 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} \ +" -- 1.9.0 _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
