aboutsummaryrefslogtreecommitdiffstats
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:53:28 +0100
commit0c2778c36f521d019ab6ff0c458a1e117808d2e5 (patch)
tree812746a2ff8c5261da65206a15fe701b898831e3 /meta/recipes-devtools/rpm
parent381c79dfacf4e990604b8c1ca5845a47958681fc (diff)
downloadopenembedded-core-contrib-0c2778c36f521d019ab6ff0c458a1e117808d2e5.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] 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 44e228d53d..7c3897c822 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 \
"