summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-11-23 12:09:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:01 +0000
commitb8ee7ae6b4544e0b59833c7a0f6872804a64887f (patch)
tree48760677a8ba2cfc3812f9dd47327f5db762d12d /meta
parentb3641838d658c2e4f4883112030eb696dd049267 (diff)
downloadpoky-b8ee7ae6b4544e0b59833c7a0f6872804a64887f.tar.gz
sanity: don't enforce DISPLAY for testimage
Now that qemurunner doesn't need DISPLAY set, let whether DISPLAY is set be up to the user. (From OE-Core rev: 259d1d1889b9349498d3f995a09466ce89bd3fcf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ae86d261e7..ad9dda878a 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -749,14 +749,6 @@ def check_sanity_everybuild(status, d):
749 749
750 check_supported_distro(d) 750 check_supported_distro(d)
751 751
752 # Check if DISPLAY is set if TEST_IMAGE is set
753 if d.getVar('TEST_IMAGE', True) == '1' or d.getVar('DEFAULT_TEST_SUITES', True):
754 testtarget = d.getVar('TEST_TARGET', True)
755 if testtarget == 'qemu' or testtarget == 'QemuTarget':
756 display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
757 if not display:
758 status.addresult('testimage needs an X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n')
759
760 omask = os.umask(022) 752 omask = os.umask(022)
761 if omask & 0755: 753 if omask & 0755:
762 status.addresult("Please use a umask which allows a+rx and u+rwx\n") 754 status.addresult("Please use a umask which allows a+rx and u+rwx\n")