]> code.ossystems Code Review - openembedded-core.git/commit
image*.bbclass, bootimg.bbclass: add image type dependencies
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 18 Feb 2014 13:49:43 +0000 (15:49 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Feb 2014 14:28:04 +0000 (14:28 +0000)
commit5e2796aa28e02ae3a076c6593c6533753720b13d
tree4cec13f58229ef7341a4dd79b43f70766bfa6c70
parent85e89da55f778ad3713460cb0df1435d82e94510
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>
meta/classes/bootimg.bbclass
meta/classes/image-live.bbclass
meta/classes/image-vmdk.bbclass
meta/classes/image_types.bbclass