diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2015-09-11 19:02:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-14 20:46:35 +0100 |
commit | 722aa22d157f27025a5e78d0c8db16769cb9cf8b (patch) | |
tree | 8783e44d8fc0640fdcd4acacbaa9398bc010211d /meta/classes/useradd_base.bbclass | |
parent | 3006cb260004a7bd88cfd4ea3e2cbcac600347bc (diff) | |
download | poky-722aa22d157f27025a5e78d0c8db16769cb9cf8b.tar.gz |
image.py: Allow IMAGE_LINK_NAME to be empty
When IMAGE_LINK_NAME is empty, OE will try to create a "blank" link instead
of just skipping it. The code checks for "link_name is not None" which will
never evaluate to true. Change the test to a simple "if link_name:" so it
no longer attempt to create links when the variable is an empty string.
(From OE-Core rev: 7f03dd50de76f0b5c3a10c514e920615ffaa846c)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd_base.bbclass')
0 files changed, 0 insertions, 0 deletions