[oe-commits] Richard Purdie : rpm: Ensure rpm depends on rpm-postinsts
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 2 16:56:18 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 0c2778c36f521d019ab6ff0c458a1e117808d2e5
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0c2778c36f521d019ab6ff0c458a1e117808d2e5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Apr 2 17:53:14 2013 +0100
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 at linuxfoundation.org>
---
meta/recipes-devtools/rpm/rpm_5.4.9.bb | 2 ++
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 \
"
More information about the Openembedded-commits
mailing list