diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-26 10:23:59 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-01-22 12:19:29 +0100 |
commit | b0efcfc26594892282ffc5c6af12aed5985d010d (patch) | |
tree | ee4de67b7b1e188c02f10c797afa156077d157b4 /classes/sanity.bbclass | |
parent | 400f955fdbffd155f622b8c85291d01e467779d5 (diff) |
sanity.bbclass: Provide preserving the mmap_min_addr setting over reboots (from Poky)
git-svn-id: https://svn.o-hand.com/repos/poky@5106 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'classes/sanity.bbclass')
-rw-r--r-- | classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass index 027d948fce..e442bf1807 100644 --- a/classes/sanity.bbclass +++ b/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(): |