summaryrefslogtreecommitdiffstats
path: root/meta/classes/toaster.bbclass
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-25 14:14:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-31 22:23:12 +0100
commit66710890c6b66230f92e31bcf6cff29406f18ad7 (patch)
tree04b309dfa12ab9d3d902bfd76ba7c96bf67440b2 /meta/classes/toaster.bbclass
parent3837f294227f8d12fd9d954bf1a44dd65b2df1e0 (diff)
downloadpoky-66710890c6b66230f92e31bcf6cff29406f18ad7.tar.gz
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: cbb64f85dabefe267519e4b983d73c864b41e876) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toaster.bbclass')
-rw-r--r--meta/classes/toaster.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index 55d0d28157..eeca9dedd2 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -162,7 +162,7 @@ python toaster_image_dumpdata() {
162 import stat 162 import stat
163 artifact_path = os.path.join(dirpath, fn) 163 artifact_path = os.path.join(dirpath, fn)
164 filestat = os.stat(artifact_path) 164 filestat = os.stat(artifact_path)
165 if stat.S_ISREG(filestat.st_mode): 165 if not os.path.islink(artifact_path):
166 artifact_info_data[artifact_path] = filestat.st_size 166 artifact_info_data[artifact_path] = filestat.st_size
167 except OSError as e: 167 except OSError as e:
168 bb.event.fire(bb.event.MetadataEvent("OSErrorException", e), d) 168 bb.event.fire(bb.event.MetadataEvent("OSErrorException", e), d)