[oe-commits] Richard Purdie : sanity.bbclass: Provide preserving the mmap_min_addr setting over reboots (from Poky)

GIT User account git at amethyst.openembedded.net
Thu Jan 22 11:22:15 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b0efcfc26594892282ffc5c6af12aed5985d010d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b0efcfc26594892282ffc5c6af12aed5985d010d

Author: Richard Purdie <richard at openedhand.com>
Date:   Tue Aug 26 10:23:59 2008 +0000

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

---

 classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 027d948..e442bf1 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():





More information about the Openembedded-commits mailing list