[oe-commits] Richard Purdie : rpm4: Drop native RDEPENDS
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 22 07:24:55 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: bbc74eb05436638608cc589762b7b0ba2f2f36d2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bbc74eb05436638608cc589762b7b0ba2f2f36d2
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Wed Jul 22 08:08:55 2015 +0100
rpm4: Drop native RDEPENDS
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 at linuxfoundation.org>
---
meta/recipes-devtools/rpm/rpm_4.11.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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/* \
More information about the Openembedded-commits
mailing list