From: Richard Purdie Date: Tue, 2 Apr 2013 16:53:14 +0000 (+0100) Subject: rpm: Ensure rpm depends on rpm-postinsts X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f802d7f0c409836cdd0ee8b32fd06eeaea8cca93;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 44e228d53d7..7c3897c822c 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 \ "