Enable initrd creation 15/41515/2
authorBaptiste Durand <baptiste.durand@open.eurogiciel.org>
Wed, 6 May 2015 08:08:17 +0000 (10:08 +0200)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Tue, 16 Jun 2015 12:31:25 +0000 (14:31 +0200)
Change-Id: I18e61882a08e161da06730b2f3066c653143701b
Signed-off-by: Baptiste Durand <baptiste.durand@open.eurogiciel.org>
meta-tizen-common-base/classes/metatizen.bbclass

index 5f77686..721dee7 100644 (file)
@@ -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_<pn> 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.