summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/sdk.py
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2023-06-19 00:41:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-20 23:21:18 +0100
commit12aecd9da94b5f27041982c661e8bab316d365d4 (patch)
tree62dd6d66cac0570443715f9fa8a0bc827ddd0ff6 /meta/lib/oe/sdk.py
parent4c6d0f3ddbb76bde7f35edeb280fe56a9a00f91b (diff)
downloadopenembedded-core-contrib-12aecd9da94b5f27041982c661e8bab316d365d4.tar.gz
sdk.py: error out when moving file fails
Instead of printing an error message and continuing, we should just error out when moving file fails. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r--meta/lib/oe/sdk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 81fcf15371..3dc3672210 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -70,7 +70,7 @@ class Sdk(object, metaclass=ABCMeta):
#FIXME: using umbrella exc catching because bb.utils method raises it
except Exception as e:
bb.debug(1, "printing the stack trace\n %s" %traceback.format_exc())
- bb.error("unable to place %s in final SDK location" % sourcefile)
+ bb.fatal("unable to place %s in final SDK location" % sourcefile)
def mkdirhier(self, dirpath):
try: