From 9fc7f0ff84cafae39bea69b5c4c724d26e3dd6f6 Mon Sep 17 00:00:00 2001 From: Florin Sarbu Date: Sun, 22 Apr 2012 00:35:05 +0300 Subject: runqemu-internal: modify to pick up vexpressa9 .img creation script from same directory Signed-off-by: Florin Sarbu --- scripts/runqemu-internal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index df9beda..4b0d8de 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -337,7 +337,6 @@ if [ "$MACHINE" = "beagleboard" -a "$SD_NEEDED" = "y" ]; then else echo "No need to create image." fi - if [ "$MACHINE" = "vexpressa9" -a "$SD_NEEDED" = "y" ]; then echo "Creating vexpress A9 SD image ..." QEMU_IMG=qemu-img @@ -347,7 +346,7 @@ if [ "$MACHINE" = "vexpressa9" -a "$SD_NEEDED" = "y" ]; then cleanup return fi - CREATE_SD_SCRIPT=`which create_img_vexpress-a9.sh` + CREATE_SD_SCRIPT=$(dirname $0)/create_img_vexpress-a9.sh echo "IMGNAME $IMGNAME" echo "QEMUIMG $QEMUIMG" $CREATE_SD_SCRIPT $IMGNAME $KERNEL $ROOTFS $QEMUIMG -- cgit v1.2.2-1-g5e49