The following dependencies were manually added in the image creation code. However, in order to have an image dependency mechanism in place, use a new variable, IMAGE_TYPEDEP, to declare that an image type depends on another being already created. The following dependencies are added by this commit: elf -> cpio.gz live -> ext3 vmdk -> ext3 iso -> ext3 hddimg -> ext3 This commit adds also another new variable: IMAGE_TYPES_MASKED. Currently, masking out certain types from IMAGE_FSTYPES was hardcoded in the image creation code. [YOCTO #5830] (From OE-Core rev: 5e2796aa28e02ae3a076c6593c6533753720b13d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
505 B
Text
19 lines
505 B
Text
|
|
AUTO_SYSLINUXCFG = "1"
|
|
INITRD_IMAGE ?= "core-image-minimal-initramfs"
|
|
INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz"
|
|
SYSLINUX_ROOT = "root=/dev/ram0 "
|
|
SYSLINUX_TIMEOUT ?= "10"
|
|
SYSLINUX_LABELS ?= "boot install"
|
|
LABELS_append = " ${SYSLINUX_LABELS} "
|
|
|
|
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
|
|
|
|
do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
|
|
do_bootimg[depends] += "${PN}:do_rootfs"
|
|
|
|
inherit bootimg
|
|
|
|
IMAGE_TYPEDEP_live = "ext3"
|
|
IMAGE_TYPES_MASKED += "live"
|