]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
image.py: Allow IMAGE_LINK_NAME to be empty
authorMike Looijmans <mike.looijmans@topic.nl>
Fri, 11 Sep 2015 17:02:44 +0000 (19:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 22:01:54 +0000 (23:01 +0100)
commit7f03dd50de76f0b5c3a10c514e920615ffaa846c
treebd822af9d5ecfdfe3b86a383e92cc23e26ea9926
parentd3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae
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.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/image.py