diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-05-09 12:38:39 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:12 +0100 |
commit | 43ceb87454f49707750833b3130c15290b12ccfd (patch) | |
tree | 9ed02bdbd9c0dd3d77411c0f1ebda182b03d2148 /meta-skeleton | |
parent | 20565a96934a0de2ede7ca419020c0c29725aaea (diff) | |
download | poky-43ceb87454f49707750833b3130c15290b12ccfd.tar.gz |
classes/buildhistory: fix failures collecting output signatures
It's possible for tasks to stage symlinks that point to non-existent
files; an example is ncurses-native.do_populate_sysroot. There wasn't
any error checking here so this broke the build when "task" was included
in BUILDHISTORY_FEATURES. In any case we shouldn't be following symlinks
and getting the sha256sum of the link target - we need concern ourselves
only with the target path, so check if the file is a link and sha256 the
target path instead if it is. If it's neither a regular file nor a
symlink (perhaps a pipe or a device), just skip it.
(From OE-Core rev: f60520d97f53dafe783f61eb58fe249798a1e1be)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions