]> code.ossystems Code Review - openembedded-core.git/commit
cve-check: fail gracefully when file not found
authorArmin Kuster <akuster808@gmail.com>
Wed, 11 Dec 2019 16:16:04 +0000 (08:16 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Dec 2019 23:25:34 +0000 (23:25 +0000)
commitd4926c11a4ab9148bdb640a9367c9e1891491a5b
tree3a37e99beb40a6e5e14c71faabad00d5f512a7c1
parent2f37056cc6380a6dbc6e43152d2c7a4846526904
cve-check: fail gracefully when file not found

With out these changes, a traceback displayed when a file
is listed in the SRC_URI but the file does not exist.

raise FileNotFoundError and print the patch then mark the task as failed.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cve-check.bbclass