mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
toaster.bbclass: do not add symbolic links to artifacts
This patch removes the symbolic links from the artifact list. [YOCTO #7184] (From OE-Core rev: 1243b616e2b375061fafb6b504df7106a808f7d2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
18661937e4
commit
938fa5cebf
@@ -162,7 +162,7 @@ python toaster_image_dumpdata() {
|
||||
import stat
|
||||
artifact_path = os.path.join(dirpath, fn)
|
||||
filestat = os.stat(artifact_path)
|
||||
if stat.S_ISREG(filestat.st_mode):
|
||||
if not os.path.islink(artifact_path):
|
||||
artifact_info_data[artifact_path] = filestat.st_size
|
||||
except OSError as e:
|
||||
bb.event.fire(bb.event.MetadataEvent("OSErrorException", e), d)
|
||||
|
||||
Reference in New Issue
Block a user