summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/sanity.bbclass9
1 files changed, 0 insertions, 9 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 5f0e724456..19310cbd9c 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -99,15 +99,6 @@ def check_sanity(e):
if "qemu-native" in assume_provided:
required_utilities += " %s" % (qemu_target_binary(e.data))
- try:
- if os.path.exists("/proc/sys/vm/mmap_min_addr"):
- f = file("/proc/sys/vm/mmap_min_addr", "r")
- if (f.read().strip() != "0"):
- messages = messages + "/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).\n\nTo fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.\n"
- f.close()
- except:
- pass
-
for util in required_utilities.split():
if not check_app_exists( util, e.data ):
missing = missing + "%s," % util