From: Zhai Edwin Date: Fri, 4 Mar 2011 11:32:18 +0000 (+0800) Subject: qemu-script: Remove mmap_min_addr check X-Git-Tag: 2011-1~2151 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=48181023314ac09743b958b0035399797fe6cff9;p=openembedded-core.git qemu-script: Remove mmap_min_addr check qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in sanity.bbclass has already in oe-core mailinglist by Raj. This patch does the same thing for qemu-script. Signed-off-by: Zhai Edwin --- diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index 5e74169bdf..3638a65a8e 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -268,13 +268,6 @@ if [ "$NFS_SERVER" = "" ]; then fi if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then - 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 - QEMU=qemu-system-arm MACHINE_SUBTYPE=versatilepb QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"