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:24:26 +0100
commit0b838bbc1ea6d7e6f0ac74eac0ef5fb2942431e4 (patch)
tree6c208dcfd0ffe6e1971be83af7ce5818c85c2f85 /meta/lib/oe/sdk.py
parent6f8dd36ca0ccce2a526d45224ff13b4e85bdcc69 (diff)
downloadpoky-0b838bbc1ea6d7e6f0ac74eac0ef5fb2942431e4.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. (From OE-Core rev: 12aecd9da94b5f27041982c661e8bab316d365d4) 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):
70 #FIXME: using umbrella exc catching because bb.utils method raises it 70 #FIXME: using umbrella exc catching because bb.utils method raises it
71 except Exception as e: 71 except Exception as e:
72 bb.debug(1, "printing the stack trace\n %s" %traceback.format_exc()) 72 bb.debug(1, "printing the stack trace\n %s" %traceback.format_exc())
73 bb.error("unable to place %s in final SDK location" % sourcefile) 73 bb.fatal("unable to place %s in final SDK location" % sourcefile)
74 74
75 def mkdirhier(self, dirpath): 75 def mkdirhier(self, dirpath):
76 try: 76 try: