Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swupdate-common.bbclass: Handle empty IMAGE_LINK_NAME
When IMAGE_LINK_NAME is empty or when IMAGE_LINK_NAME is equal to IMAGE_NAME, this results in an error like: Exception: FileExistsError: [Errno 17] File exists: 'my-image-swu-sd-tdpzu9.swu' -> 'my-image-swu-sd-tdpzu9.swu' To solve this, check if IMAGE_LINK_NAME is valid before attempting to create the symlink. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Stefano Babic <sbabic@denx.de>
- Loading branch information