mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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>
This commit is contained in:
parent
355c92cfe7
commit
6c12135117
|
@ -175,6 +175,9 @@ def main():
|
||||||
tinfoil.config_data.setVar('DESCRIPTION', '')
|
tinfoil.config_data.setVar('DESCRIPTION', '')
|
||||||
# Clear the default value of HOMEPAGE ('unknown')
|
# Clear the default value of HOMEPAGE ('unknown')
|
||||||
tinfoil.config_data.setVar('HOMEPAGE', '')
|
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
|
# Fetch all layers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user