Patchwork [2/2] rootfs_rpm.bbclass: make rpm-postinsts installed on target

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date April 2, 2013, 3:31 a.m.
Message ID <d7a977bc5d6c7a2b23b5c4923686789f45f4c3ea.1364872107.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/47249/
State New
Headers show

Comments

Qi.Chen@windriver.com - April 2, 2013, 3:31 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Override ROOTFS_BOOTSTAP_INSTALL to make rpm-postinsts installed on
target regardless of 'package-management' image feature.

[YOCTO #4160]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/classes/rootfs_rpm.bbclass |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index d373dab..9a06a7d 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -4,6 +4,7 @@ 
 
 ROOTFS_PKGMANAGE = "rpm smartpm"
 ROOTFS_PKGMANAGE_BOOTSTRAP = "rpm-postinsts"
+ROOTFS_BOOTSTRAP_INSTALL = "${ROOTFS_PKGMANAGE_BOOTSTRAP}"
 
 # Add 50Meg of extra space for Smart
 IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}"