aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2012-04-22 00:35:05 +0300
committerFlorin Sarbu <florin.sarbu@windriver.com>2012-04-22 00:35:05 +0300
commit9fc7f0ff84cafae39bea69b5c4c724d26e3dd6f6 (patch)
tree1ab40bd02c221fe9e90c421d72600bc70f4fa307
parent3ed75ccf08b3fc6485166391604d2a79bab61a40 (diff)
downloadmeta-ivi-9fc7f0ff84cafae39bea69b5c4c724d26e3dd6f6.tar.gz
meta-ivi-9fc7f0ff84cafae39bea69b5c4c724d26e3dd6f6.tar.bz2
meta-ivi-9fc7f0ff84cafae39bea69b5c4c724d26e3dd6f6.zip
runqemu-internal: modify to pick up vexpressa9 .img creation script from same directory
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
-rwxr-xr-xscripts/runqemu-internal3
1 files changed, 1 insertions, 2 deletions
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