summaryrefslogtreecommitdiff
path: root/meta/files
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-06 12:37:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:59:17 +0000
commit9a3b992b7339f7aa892f1dff7d159747630b045d (patch)
treee803bdb0c68fc102f06f0676cf03ab3527d2879c /meta/files
parent687e5ef86361a16d6c411386939d4ba96a5909ea (diff)
downloadopenembedded-core-9a3b992b7339f7aa892f1dff7d159747630b045d.tar.gz
openembedded-core-9a3b992b7339f7aa892f1dff7d159747630b045d.tar.bz2
openembedded-core-9a3b992b7339f7aa892f1dff7d159747630b045d.zip
base: Improve handling of switching virtual/x providers
If you build virtual/kernel, then change PREFERRED_PROVIDER_virtual/kernel from say "linux-yocto" to "linux-yocto-dev", you see errors from the sysroot about overlapping files. The automatic uninstall logic doesn't trigger since the other recipes is still technically parsed/buildable. What we can do is look at the value of PREFERRED_PROVIDER_virtual/X and raise SkipRecipe (skip parsing) if it provides this thing and its not selected. We skip cases no preferred provider is set, or the value is in MULTI_PROVIDER_WHITELIST.We also inform the user if they try to build something which conflicts with the configuration: $ bitbake linux-yocto-tiny ERROR: Nothing PROVIDES 'linux-yocto-tiny' ERROR: linux-yocto-tiny was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-tiny [YOCTO #4102] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
0 files changed, 0 insertions, 0 deletions