bitbake.conf: use rootfs/${PN} for IMAGE_ROOTFS
[vuplus_openembedded] / classes / sanity.bbclass
index da3e630..29624c3 100644 (file)
@@ -112,8 +112,11 @@ def check_sanity(e):
                missing = missing.rstrip(',')
                messages = messages + "Please install following missing utilities: %s\n" % missing
 
-       if os.path.basename(os.readlink('/bin/sh')) == 'dash':
-               messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead.\n"
+       try:
+           if os.path.basename(os.readlink('/bin/sh')) == 'dash':
+                   messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead.\n"
+       except:
+               pass
 
        omask = os.umask(022)
        if omask & 0755: