From: Richard Purdie Date: Tue, 26 Aug 2008 10:23:59 +0000 (+0000) Subject: sanity.bbclass: Provide preserving the mmap_min_addr setting over reboots X-Git-Tag: 2011-1~8400 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bbdeccfd5bc849d2822a6a3233101857112029bb;p=openembedded-core.git 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 --- 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): 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():