]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm4: Drop native RDEPENDS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jul 2015 07:08:55 +0000 (08:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jul 2015 22:24:58 +0000 (23:24 +0100)
Native recipes should *never* depend on target recipes since this would
cause them to rebuild every time the target changes. Before the recent
datastore changes, this happened to work. Now, this makes rpm-native
unbuildable since base-files-native doesn't exist and the code remaps
the variable.

Dropping these dependencies here is the correct way to resolve this issue
and fix an autobuilder selftest failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.11.2.bb

index df9aafbaabfaf39cb4d9d5efb0e913bd042493c7..210c9433da064016c6881295b6e6a8d44645fd8e 100644 (file)
@@ -122,7 +122,7 @@ FILES_${PN} +=  "${libdir}/rpm \
                  ${libdir}/rpm-plugins/exec.so \
                 "
 RDEPENDS_${PN} = "base-files run-postinsts"
-RDEPENDS_${PN}_class-native = "base-files run-postinsts"
+RDEPENDS_${PN}_class-native = ""
 
 FILES_${PN}-dbg += "${libdir}/rpm/.debug/* \
                     ${libdir}/rpm-plugins/.debug/* \