]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Only append to IMAGE_LINK_NAME if it was already set
authorMike Crowe <mac@mcrowe.com>
Tue, 9 Jul 2019 08:25:09 +0000 (09:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jul 2019 08:55:45 +0000 (09:55 +0100)
commite529c45f29bd9a1de21f31fef7acb23eb6e8ebdd
tree92907ca9382b082a9fa43783b6906de00bc0cee2
parent2266c8f627af71b89628c25dc412977054ebcd4a
image.bbclass: Only append to IMAGE_LINK_NAME if it was already set

create_symlinks does not create any links if IMAGE_LINK_NAME is empty.
Unfortunately, setup_debugfs_variables unconditionally appends '-dbg' which
results in a previously-empty IMAGE_LINK_NAME containing just '-dbg'. Let's
check that it's not empty before appending.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass