]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: toaster: check if file exist
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 27 Sep 2016 15:16:53 +0000 (16:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 15:52:22 +0000 (16:52 +0100)
commitcc4c02a268e92839f5ebb36cbf7a6b71082e09c4
treef00a62234992e61d9c44a8ef22594ed334232293
parentefa8cfb3654343441927998446e0a4a4007f991b
bitbake: toaster: check if file exist

Buildinfohelper assumes that all files mentioned in
manifest exist in deploy/ directory, which is not always
the case. Toaster crashes with OSError trying to
call os.stat on non-existing file.

Checking if file exists before processing it should
fix this.

[YOCTO #10185]

(Bitbake rev: 54565e7ca84d2722a2454e7fa52cda564b28b527)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/buildinfohelper.py