scripts/poky-qemu-internal: Check /proc/sys/vm/mmap_min_addr value and error if its potentially problematic
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4437 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
584aeb5e87
commit
f6d5b98a58
|
@ -77,6 +77,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" ]; then
|
||||
QEMU=qemu-system-arm
|
||||
if [ "$TYPE" = "ext2" ]; then
|
||||
|
|
Loading…
Reference in New Issue