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
This commit is contained in:
parent
a707851f74
commit
bbdeccfd5b
|
@ -101,7 +101,7 @@ def check_sanity(e):
|
|||
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"
|
||||
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()
|
||||
|
||||
for util in required_utilities.split():
|
||||
|
|
Loading…
Reference in New Issue