mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user