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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-04-02 17:53:14 +01:00
parent c62d869f12
commit f802d7f0c4
1 changed files with 2 additions and 0 deletions

View 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 \
"