]> 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)
committerArmin Kuster <akuster808@gmail.com>
Sun, 8 Mar 2020 04:57:00 +0000 (20:57 -0800)
commitd313a5912d2ecbf7796e75ee7e7cd1d442b4fa40
tree5685ac6a8aea95831831a9b2e6bd4e9a2c1dee5c
parentfb3a4c0ef61ca9b6313d4fdc6e2b28d415780dc7
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>
(cherry picked from commit d4926c11a4ab9148bdb640a9367c9e1891491a5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/cve-check.bbclass