mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"
This reverts commit 138df217ef.
We still need the vm_mmap_min_addr set to 0 to run locale generation for
qemu-arm
Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -150,6 +150,13 @@ if [ ! -f "$ZIMAGE" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if [ -e /proc/sys/vm/mmap_min_addr ]; then
|
||||
if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then
|
||||
echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU"
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then
|
||||
QEMU=qemu-system-arm
|
||||
MACHINE_SUBTYPE=versatilepb
|
||||
|
||||
Reference in New Issue
Block a user