mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
![]() In OE-Core commit 8c9ef587fe499c612a878a1ab42092eb79b334ef an AVAILABLE_LICENSES variable was added in license.bbclass where its value is assigned with immediate expansion ( := ) with the result that it looks in LICENSE_PATH for licenses; in turn LICENSE_PATH refers to COREBASE. You might assume that COREBASE is always set, and normally it is (since it's set OE-Core's layer.conf) - but in the layer index context we do not parse layer.conf until a bit later, so it immediately fails. The quick way to fix this is just to set our own (correct) value for COREBASE and then AVAILABLE_LICENSES can be expanded successfully. You might ask why we don't instead just set BBLAYERS such that we *do* parse OE-Core's layer.conf - the answer is that that can have other effects such as BBFILE_COLLECTIONS being set, and at least at the moment the rest of the code isn't expecting that. Fixes [YOCTO #13723]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
||
---|---|---|
.. | ||
migrations | ||
static | ||
templatetags | ||
tools | ||
__init__.py | ||
admin.py | ||
auth_forms.py | ||
auth_views.py | ||
bulkchange.py | ||
context_processors.py | ||
forms.py | ||
layerconfparse.py | ||
middleware.py | ||
models.py | ||
querysethelper.py | ||
recipedesc.py | ||
recipeparse.py | ||
restperm.py | ||
restviews.py | ||
securityquestions.py | ||
tasks.py | ||
update_layer.py | ||
update.py | ||
urls_branch.py | ||
urls.py | ||
utils.py | ||
views.py |