From: Richard Purdie Date: Tue, 2 Apr 2013 16:53:14 +0000 (+0100) Subject: rpm: Ensure rpm depends on rpm-postinsts X-Git-Tag: 2015-4~6989 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0c2778c36f521d019ab6ff0c458a1e117808d2e5;p=openembedded-core.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] 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 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 \ "