diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 3f42b4f7cd..838448f33c 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -331,9 +331,6 @@ def check_sanity(e): | |||
331 | if not data.getVar( 'DISPLAY', e.data, True ) and data.getVar( 'IMAGETEST', e.data, True ) == 'qemu': | 331 | if not data.getVar( 'DISPLAY', e.data, True ) and data.getVar( 'IMAGETEST', e.data, True ) == 'qemu': |
332 | messages = messages + 'qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n' | 332 | messages = messages + 'qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n' |
333 | 333 | ||
334 | if os.path.basename(os.readlink('/bin/sh')) == 'dash': | ||
335 | messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead (e.g. 'dpkg-reconfigure dash' on an Ubuntu system.\n" | ||
336 | |||
337 | omask = os.umask(022) | 334 | omask = os.umask(022) |
338 | if omask & 0755: | 335 | if omask & 0755: |
339 | messages = messages + "Please use a umask which allows a+rx and u+rwx\n" | 336 | messages = messages + "Please use a umask which allows a+rx and u+rwx\n" |