layerindex-web/layerindex
Paul Eggleton 9cf0829f41 Fix parsing after AVAILABLE_LICENSES change
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>
2020-01-06 13:36:35 +13:00
..
migrations Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
static Upgrade Chart.js to 2.9.3 2019-12-09 11:39:47 +13:00
templatetags Replace custom pagination with django-bootstrap-pagination 2019-07-17 11:31:04 +12:00
tools editlayer: Be more specific on the searches 2019-10-14 09:20:33 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
auth_forms.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
auth_views.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
bulkchange.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
context_processors.py Fix admin logout login button redirection 2019-07-25 16:25:06 +12:00
forms.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
layerconfparse.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
middleware.py Fix axes lockout not working 2019-07-17 11:31:04 +12:00
models.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Fix parsing after AVAILABLE_LICENSES change 2020-01-06 13:36:35 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py API: fix recipes API performance regression 2019-09-16 17:14:25 +12:00
securityquestions.py Add user security questions 2019-07-17 11:30:56 +12:00
tasks.py More shell quoting 2019-07-17 11:31:04 +12:00
update_layer.py update: ensure removed recipe dependencies are removed from db 2019-12-09 11:40:12 +13:00
update.py update: fix exception with -x/--nofetch option 2019-11-21 02:51:30 +13:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
utils.py Try to make running background commands more responsive 2019-07-17 11:31:04 +12:00
views.py tasks: squash out CRs in task logs to avoid huge transfers 2019-12-09 11:40:12 +13:00