]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm: Ensure rpm depends on rpm-postinsts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Apr 2013 16:53:14 +0000 (17:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Apr 2013 16:53:28 +0000 (17:53 +0100)
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>
meta/recipes-devtools/rpm/rpm_5.4.9.bb

index 44e228d53d7c7d5dae98f6410536eddfe1045f50..7c3897c822c6811edbcca8c4f8c96f3ad1698e99 100644 (file)
@@ -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 \
                 "