* [PATCH] rpm4: Drop native RDEPENDS
@ 2015-07-22 7:11 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-22 7:11 UTC (permalink / raw)
To: openembedded-core
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>
diff --git a/meta/recipes-devtools/rpm/rpm_4.11.2.bb b/meta/recipes-devtools/rpm/rpm_4.11.2.bb
index df9aafb..210c943 100644
--- a/meta/recipes-devtools/rpm/rpm_4.11.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.11.2.bb
@@ -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/* \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-22 7:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 7:11 [PATCH] rpm4: Drop native RDEPENDS Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox