aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/update.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-02-24 20:50:52 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-02-24 20:50:52 +0000
commit6c12135117855302036313ea61d6b978af01f7b9 (patch)
treecd0e9cd7a9dcdf58332dd150a618e27ad7eea215 /layerindex/update.py
parent355c92cfe7dee25c36d8f03bbdd77f526f6fcf4c (diff)
downloadopenembedded-core-contrib-6c12135117855302036313ea61d6b978af01f7b9.tar.gz
Don't fail with an error due to unset LICENSE
meta-ti has a recipe in it that causes parsing to fail with a fatal error due to LICENSE not being set; for the purposes of the layer index just set a default value for LICENSE so that this doesn't break parsing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-xlayerindex/update.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/layerindex/update.py b/layerindex/update.py
index 2aa4bb8a55..c4eb446f62 100755
--- a/layerindex/update.py
+++ b/layerindex/update.py
@@ -175,6 +175,9 @@ def main():
tinfoil.config_data.setVar('DESCRIPTION', '')
# Clear the default value of HOMEPAGE ('unknown')
tinfoil.config_data.setVar('HOMEPAGE', '')
+ # Set a blank value for LICENSE so that it doesn't cause the parser to die (e.g. with meta-ti -
+ # why won't they just fix that?!)
+ tinfoil.config_data.setVar('LICENSE', '')
# Fetch all layers