diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-07-12 15:54:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-19 09:03:32 +0100 |
commit | 843f7ae4108ad862b02ae84eef4f8cf7f6a3c950 (patch) | |
tree | 12d2a3a6d5a856810e50e9c049b3e0894a69b668 /bitbake/lib/bb/build.py | |
parent | ac339ece209b7c6b4fbe9a55233599f3cd112fbe (diff) | |
download | poky-843f7ae4108ad862b02ae84eef4f8cf7f6a3c950.tar.gz |
toaster.bbclass: only scan files-in-image.txt if it exists
We can reach the method in toaster.bbclass which tries to read from
the files-in-image.txt file via a build which doesn't create that
file (e.g. "bitbake core-image-minimal -c rootfs"). This causes
the build to fail with an exception.
Check that this file exists before trying to read from it.
[YOCTO #9784]
(From OE-Core rev: 8b369cdd73ab17cdf834a591b97b25840caeb740)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
0 files changed, 0 insertions, 0 deletions