summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-26 10:23:59 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-26 10:23:59 +0000
commitbbdeccfd5bc849d2822a6a3233101857112029bb (patch)
treebba82277b83125ee605d1105b8569cbf51cd3367 /meta/classes/sanity.bbclass
parenta707851f7409a3b376e9c668f958da25ae546e11 (diff)
downloadpoky-bbdeccfd5bc849d2822a6a3233101857112029bb.tar.gz
sanity.bbclass: Provide preserving the mmap_min_addr setting over reboots
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5106 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 0193a73528..58e858ba3f 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -101,7 +101,7 @@ def check_sanity(e):
101 if os.path.exists("/proc/sys/vm/mmap_min_addr"): 101 if os.path.exists("/proc/sys/vm/mmap_min_addr"):
102 f = file("/proc/sys/vm/mmap_min_addr", "r") 102 f = file("/proc/sys/vm/mmap_min_addr", "r")
103 if (f.read().strip() != "0"): 103 if (f.read().strip() != "0"):
104 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" 104 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"
105 f.close() 105 f.close()
106 106
107 for util in required_utilities.split(): 107 for util in required_utilities.split():