summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-02 17:53:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-02 17:57:06 +0100
commitf802d7f0c409836cdd0ee8b32fd06eeaea8cca93 (patch)
tree11efae93c98ee94bf6543ffe08a46542506a945e /meta/recipes-devtools/rpm
parentc62d869f126e0128f7a07ffd411dd8aa8e9f72e5 (diff)
downloadast2050-yocto-poky-f802d7f0c409836cdd0ee8b32fd06eeaea8cca93.zip
ast2050-yocto-poky-f802d7f0c409836cdd0ee8b32fd06eeaea8cca93.tar.gz
rpm: Ensure rpm depends on rpm-postinsts
If package-management isn't in IMAGE_FEATURES, the postinstall handler wasn't being installed. rpm needs to depend on this to ensure it does get installed. [YOCTO #4160] (From OE-Core rev: 0c2778c36f521d019ab6ff0c458a1e117808d2e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.9.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 44e228d..7c3897c 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -226,6 +226,8 @@ FILES_${PN} = "${bindir}/rpm \
/var/cache/rpm \
"
+RDEPENDS_${PN} += "${PN}-postinsts"
+
FILES_${PN}-postinsts = "${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts \
"
OpenPOWER on IntegriCloud