]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: Use pda image if sdk image not available for qemu machines
authorRichard Purdie <richard@openedhand.com>
Thu, 5 Jul 2007 22:42:14 +0000 (22:42 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 5 Jul 2007 22:42:14 +0000 (22:42 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2121 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/runqemu

index c8546ddadff4b99560f372321e7977b204f75ab1..aa796fbd5d03dd95c68f369fc12d7c2263e4a658 100755 (executable)
@@ -69,11 +69,11 @@ if [ "$MACHINE" = "qemuarm" ]; then
     if [ "$TYPE" = "ext2" ]; then
         if [ "x$HDIMAGE" = "x" ]; then
             T=$BUILDDIR/tmp/deploy/images/poky-image-
-           if [ -x "$T-sdk-qemuarm.ext2" ]; then
+            if [ -e "$T-sdk-qemuarm.ext2" ]; then
                 HDIMAGE=$T-sdk-qemuarm.ext2
-           elif [ -x "$T-pda-qemuarm.ext2" ]; then
+            elif [ -e "$T-pda-qemuarm.ext2" ]; then
                 HDIMAGE=$T-pda-qemuarm.ext2
-           fi
+            fi
         fi
     fi
 fi
@@ -101,9 +101,9 @@ if [ "$MACHINE" = "qemux86" ]; then
     if [ "$TYPE" = "ext2" ]; then
         if [ "x$HDIMAGE" = "x" ]; then
             T=$BUILDDIR/tmp/deploy/images/poky-image-
-           if [ -x "$T-sdk-qemux86.ext2" ]; then
+            if [ -e "$T-sdk-qemux86.ext2" ]; then
                 HDIMAGE=$T-sdk-qemux86.ext2
-           elif [ -x "$T-pda-qemux86.ext2" ]; then
+            elif [ -e "$T-pda-qemux86.ext2" ]; then
                 HDIMAGE=$T-pda-qemux86.ext2
             fi
         fi