]> code.ossystems Code Review - openembedded-core.git/commit
sstate: don't silently handle all exceptions in sstate_checkhashes
authorRoss Burton <ross@burtonini.com>
Thu, 14 Oct 2021 16:33:19 +0000 (17:33 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 29 Oct 2021 14:48:40 +0000 (04:48 -1000)
commitf16803718a19ace7b582c5b73924fe3112502927
treef6490cef20a99015094833267065104ff59ba00a
parentb20699229671ef37daac8b0ed1133aacb477f6a0
sstate: don't silently handle all exceptions in sstate_checkhashes

If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found.  However, other exceptions may be raised, and these
should be made visible.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/sstate.bbclass