diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 17:53:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 17:57:06 +0100 |
commit | f802d7f0c409836cdd0ee8b32fd06eeaea8cca93 (patch) | |
tree | 11efae93c98ee94bf6543ffe08a46542506a945e /meta/recipes-devtools/rpm | |
parent | c62d869f126e0128f7a07ffd411dd8aa8e9f72e5 (diff) | |
download | poky-f802d7f0c409836cdd0ee8b32fd06eeaea8cca93.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r-- | 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 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 \ | |||
226 | /var/cache/rpm \ | 226 | /var/cache/rpm \ |
227 | " | 227 | " |
228 | 228 | ||
229 | RDEPENDS_${PN} += "${PN}-postinsts" | ||
230 | |||
229 | FILES_${PN}-postinsts = "${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts \ | 231 | FILES_${PN}-postinsts = "${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts \ |
230 | " | 232 | " |
231 | 233 | ||