<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 15, 2015 at 10:27 AM, Benjamin Esquivel <span dir="ltr">&lt;<a href="mailto:benjamin.esquivel@linux.intel.com" target="_blank">benjamin.esquivel@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1fa" class="a3s" style="overflow:hidden">+    def movefile(self, sourcefile, destdir):<br>
+        try:<br>
+            # FIXME: this check of movefile&#39;s return code to None should be<br>
+            # fixed within the function to use only exceptions to signal when<br>
+            # something goes wrong<br>
+            if (bb.utils.movefile(sourcefile, destdir) == None):<br>
+                raise Exception(&quot;moving {} to {} failed&quot;.format(<br>
+                                        sourcefile, destdir))<br>
+        except Exception as e:<br>
+            bb.warn(str(e))<br>
+            bb.error(&quot;unable to place {} in final SDK location&quot;.format(<br>
+                        sourcefile))<br>
+<br>
+    def mkdirhier(self, dirpath):<br>
+        try:<br>
+            bb.utils.mkdirhier(dirpath)<br>
+        except OSError as e:<br>
+            bb.warn(str(e))<br>
+            bb.error(&quot;cannot make dir for SDK: {}&quot;.format(dirpath))</div></blockquote></div><br>Shouldn&#39;t this be fatal?<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>