diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-03-25 14:14:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-29 23:07:14 +0100 |
commit | cbb64f85dabefe267519e4b983d73c864b41e876 (patch) | |
tree | 5f2f96dc4fab49fda311935fed68028de8b39ac2 | |
parent | af18ce070bd1c73f3619d6370928fe7e2e06ff5e (diff) | |
download | openembedded-core-contrib-cbb64f85dabefe267519e4b983d73c864b41e876.tar.gz |
toaster.bbclass: do not add symbolic links to artifacts
This patch removes the symbolic links from the artifact list.
[YOCTO #7184]
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/toaster.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index 55d0d281570..eeca9dedd25 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass @@ -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) |