summaryrefslogtreecommitdiff
path: root/meta/classes/image-live.bbclass
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-02-18 15:49:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-20 14:28:04 +0000
commit5e2796aa28e02ae3a076c6593c6533753720b13d (patch)
tree4cec13f58229ef7341a4dd79b43f70766bfa6c70 /meta/classes/image-live.bbclass
parent85e89da55f778ad3713460cb0df1435d82e94510 (diff)
downloadopenembedded-core-5e2796aa28e02ae3a076c6593c6533753720b13d.tar.gz
openembedded-core-5e2796aa28e02ae3a076c6593c6533753720b13d.tar.bz2
openembedded-core-5e2796aa28e02ae3a076c6593c6533753720b13d.zip
image*.bbclass, bootimg.bbclass: add image type dependencies
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/image-live.bbclass')
-rw-r--r--meta/classes/image-live.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index bfb59f808b..c7e6937fa9 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -13,3 +13,6 @@ do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
do_bootimg[depends] += "${PN}:do_rootfs"
inherit bootimg
+
+IMAGE_TYPEDEP_live = "ext3"
+IMAGE_TYPES_MASKED += "live"