From: Baptiste Durand Date: Wed, 6 May 2015 08:08:17 +0000 (+0200) Subject: Enable initrd creation X-Git-Url: http://review.tizen.org/git/?p=scm%2Fbb%2Fmeta-tizen.git;a=commitdiff_plain;h=52ecb4cfb6dc957301575d5e7844272d65cda0c8 Enable initrd creation Change-Id: I18e61882a08e161da06730b2f3066c653143701b Signed-off-by: Baptiste Durand --- diff --git a/meta-tizen-common-base/classes/metatizen.bbclass b/meta-tizen-common-base/classes/metatizen.bbclass index 5f77686..721dee7 100644 --- a/meta-tizen-common-base/classes/metatizen.bbclass +++ b/meta-tizen-common-base/classes/metatizen.bbclass @@ -1,19 +1,15 @@ + +DIRFILES = "1" + + + python () { if bb.data.inherits_class('rootfs_rpm', d): rootfsdepends = d.getVarFlag("do_rootfs", "depends", True) rootfsdepends = rootfsdepends.replace("rpmresolve-native:do_populate_sysroot", "") d.setVarFlag("do_rootfs", "depends", rootfsdepends) - - if bb.data.inherits_class('image-live', d): - bootimgdepends = d.getVarFlag("do_bootimg", "depends", True) - bootimgdepends = bootimgdepends.replace(d.expand("${INITRD_IMAGE}:do_rootfs"), "") - d.setVarFlag("do_bootimg", "depends", bootimgdepends) - d.setVar("INITRD_IMAGE", "") - d.setVar("INITRD", "") } -DIRFILES = "1" - # MANIFESTFILES_ is the Tizen Smack .manifest file to be used for a binary .rpm. # It must be part of the source tree (either at the root or in a sub-directory) # or get created there during configure. Out-of-tree compilation is not supported.