diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2021-02-05 15:53:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-06 09:02:51 +0000 |
commit | 50f83fb542065eaf7a20ac07b63ae06441ada180 (patch) | |
tree | 9684bc89ad261707eb9659dbd9dfae802a41d932 /meta/conf/distro | |
parent | 3ecea58f2a3382d9f4b410d6ad7089111334cb6f (diff) | |
download | openembedded-core-contrib-50f83fb542065eaf7a20ac07b63ae06441ada180.tar.gz |
license_image.bbclass: Don't attempt to symlink to the same file
Sometimes (that is, in all my builds) the lic_manifest_dir and
lic_manifest_symlink_dir end up pointing to the same file, resulting
in an error like this:
Exception: FileExistsError: [Errno 17] File exists: '/.../tmp-glibc/deploy/licenses/my-image-tdkz15' -> '/.../tmp-glibc/deploy/licenses/my-image-tdkz15'
First check to see if this is the case before attempting to create
the link.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
0 files changed, 0 insertions, 0 deletions