mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
Drop vm_mmap_min_addr checks from scripts and sanity class
QEMU 0.12.x is relocatable so we no longer need these tests, which is good because it doesn't work reliably with modern kernels. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -79,13 +79,6 @@ 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
|
||||
if [ "$TYPE" = "ext3" ]; then
|
||||
|
||||
Reference in New Issue
Block a user