diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2015-11-30 18:07:03 +0000 |
---|---|---|
committer | Elliot Smith <elliot.smith@intel.com> | 2016-05-24 14:22:58 +0100 |
commit | 50eef9b55a424635b74301247b067586c8b7b12a (patch) | |
tree | 0294c4af6aa5a072cf5e9d1717d59a6b89d658f5 /layerindex/update.py | |
parent | 3155206e54413f72df3b3b41280eafd332a58ba4 (diff) | |
download | openembedded-core-contrib-50eef9b55a424635b74301247b067586c8b7b12a.tar.gz |
Display recipe blacklist information
Display blacklist information for recipes in the recipe details,
as well as the recipe search page, and layer page tables. This
information is pulled from the PNBLACKLIST variable. Includes a
hover text containing the reason for blacklist labels.
Changes to Django and Layerindex files:
- models.py, update.py
- migration file
- templates and static content (stylesheet)
[YOCTO #7855]
Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-x | layerindex/update.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layerindex/update.py b/layerindex/update.py index 7497743401..7daccef4c0 100755 --- a/layerindex/update.py +++ b/layerindex/update.py @@ -69,6 +69,7 @@ def update_recipe_file(data, path, recipe, layerdir_start, repodir): gr = set(data.getVar("__inherit_cache", True) or []) lr = set(envdata.getVar("__inherit_cache", True) or []) recipe.inherits = ' '.join(sorted({os.path.splitext(os.path.basename(r))[0] for r in lr if r not in gr})) + recipe.blacklisted = envdata.getVarFlag('PNBLACKLIST', recipe.pn, True) or "" recipe.save() # Get file dependencies within this layer |