* [PATCH] archiver: Fix ASSUME_PROVIDED issues
@ 2016-04-09 22:16 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-04-09 22:16 UTC (permalink / raw)
To: openembedded-core
Currently the dependencies injected by this class for recipes in ASSUME_PROVIDED
e.g. tar-native or chrpath-native are ignored. We need to use their "replacement"
names, e.g. tar-replacement-native.
This avoids broken archives and sstate failures with these recipes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 15d2d04..89a24d9 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -53,6 +53,12 @@ do_deploy_all_archives[dirs] = "${WORKDIR}"
python () {
pn = d.getVar('PN', True)
+ assume_provided = (d.getVar("ASSUME_PROVIDED", True) or "").split()
+ if pn in assume_provided:
+ for p in d.getVar("PROVIDES", True).split():
+ if p != pn:
+ pn = p
+ break
included, reason = copyleft_should_include(d)
if not included:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-09 22:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09 22:16 [PATCH] archiver: Fix ASSUME_PROVIDED issues Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox