diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 1b272190e7..a6d320b167 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -172,8 +172,8 @@ def check_sanity(e): | |||
172 | if os.path.exists("/proc/sys/vm/mmap_min_addr"): | 172 | if os.path.exists("/proc/sys/vm/mmap_min_addr"): |
173 | f = open("/proc/sys/vm/mmap_min_addr", "r") | 173 | f = open("/proc/sys/vm/mmap_min_addr", "r") |
174 | try: | 174 | try: |
175 | if (int(f.read().strip()) < 65536): | 175 | if (int(f.read().strip()) > 65536): |
176 | messages = messages + "/proc/sys/vm/mmap_min_addr is not >= 65536. 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 = 65536 in /etc/sysctl.conf.\n" | 176 | messages = messages + "/proc/sys/vm/mmap_min_addr is not <= 65536. 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 = 65536 in /etc/sysctl.conf.\n" |
177 | finally: | 177 | finally: |
178 | f.close() | 178 | f.close() |
179 | except: | 179 | except: |