diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-26 10:23:59 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-26 10:23:59 +0000 |
commit | bbdeccfd5bc849d2822a6a3233101857112029bb (patch) | |
tree | bba82277b83125ee605d1105b8569cbf51cd3367 | |
parent | a707851f7409a3b376e9c668f958da25ae546e11 (diff) | |
download | openembedded-core-bbdeccfd5bc849d2822a6a3233101857112029bb.tar.gz openembedded-core-bbdeccfd5bc849d2822a6a3233101857112029bb.tar.bz2 openembedded-core-bbdeccfd5bc849d2822a6a3233101857112029bb.tar.xz openembedded-core-bbdeccfd5bc849d2822a6a3233101857112029bb.zip |
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
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 0193a7352..58e858ba3 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(): |