]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Improve failure to obtain archive message/handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jan 2022 17:50:33 +0000 (17:50 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 4 Feb 2022 03:10:41 +0000 (11:10 +0800)
commit25a7e8dae10dde6073dcdd80f1e2448b59dc9d1a
tree46c95723efa24e24c4a72887dfe8de13e4453d42
parent3f183a7f5b4704b32bd094d5ebbe8584ce26ae34
sstate: Improve failure to obtain archive message/handling

The bb.fatal() case where sstate failed to find/use an archive in setcene tasks
is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal
will turn this into an error, despite the real task being rerun.

In these failure cases other messages would usually have been printed so turn
this into a warning and raise a handled exception status so that bitbake knows
to fail the task but not print more messages.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7875baeca7a3ed216b2442fb8771e51efbfa5a4f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/sstate.bbclass