diff options
author | Davide Gardenal <davidegarde2000@gmail.com> | 2022-04-14 15:27:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-28 17:07:18 +0100 |
commit | 69d0235bb20fe6974a1b2b09a88d5a409d6ae233 (patch) | |
tree | 9cc7696f325a8dcc0ebf20152455afeffc949c1a /scripts/lib/devtool/standard.py | |
parent | 65fd03e48009521755c8361c170fa7b6607458e6 (diff) | |
download | poky-69d0235bb20fe6974a1b2b09a88d5a409d6ae233.tar.gz |
create-spdx: fix error when symlink cannot be created
If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.
Refactor image_combine_spdx to avoid code duplication
(From OE-Core rev: dfb49be6b586e3901a4398b46c914d80dcdd029b)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88f76bba705007a7fcda506c79f743060d8f2e52)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions