diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 23:24:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:31 +0100 |
commit | 2c2e61743c8d6620a04aa5cb534af78f51b2845e (patch) | |
tree | 769b7139eb86f49d9d78153c8e673ed8f04d9bde /scripts/runqemu-internal | |
parent | 0b70e298fbb2cf0a9aa1bab193a66a7edfe99e10 (diff) | |
download | poky-2c2e61743c8d6620a04aa5cb534af78f51b2845e.tar.gz |
Rename the remaining poky-* scripts to oe-* or runqemu-*
(From OE-Core rev: 877b3d84597fcfc3abf5aa332019d412f2717896)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 64374f2076..adf2b47aae 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -83,7 +83,7 @@ fi | |||
83 | if [ -z "$mem_set" ] ; then | 83 | if [ -z "$mem_set" ] ; then |
84 | SCRIPT_QEMU_EXTRA_OPT="$SCRIPT_QEMU_EXTRA_OPT -m $mem_size" | 84 | SCRIPT_QEMU_EXTRA_OPT="$SCRIPT_QEMU_EXTRA_OPT -m $mem_size" |
85 | fi | 85 | fi |
86 | # This file is created when poky-gen-tapdevs creates a bank of tap | 86 | # This file is created when runqemu-gen-tapdevs creates a bank of tap |
87 | # devices, indicating that the user should not bring up new ones using | 87 | # devices, indicating that the user should not bring up new ones using |
88 | # sudo. | 88 | # sudo. |
89 | NOSUDO_FLAG="/etc/poky-nosudo" | 89 | NOSUDO_FLAG="/etc/poky-nosudo" |
@@ -186,8 +186,8 @@ cleanup() { | |||
186 | 186 | ||
187 | if [ "$NFSRUNNING" = "true" ]; then | 187 | if [ "$NFSRUNNING" = "true" ]; then |
188 | echo "Shutting down the userspace NFS server..." | 188 | echo "Shutting down the userspace NFS server..." |
189 | echo "poky-export-rootfs stop $ROOTFS" | 189 | echo "runqemu-export-rootfs stop $ROOTFS" |
190 | poky-export-rootfs stop $ROOTFS | 190 | runqemu-export-rootfs stop $ROOTFS |
191 | fi | 191 | fi |
192 | # If QEMU crashes or somehow tty properties are not restored | 192 | # If QEMU crashes or somehow tty properties are not restored |
193 | # after qemu exits, we need to run stty sane | 193 | # after qemu exits, we need to run stty sane |
@@ -258,8 +258,8 @@ if [ "$FSTYPE" = "nfs" ]; then | |||
258 | fi | 258 | fi |
259 | 259 | ||
260 | # Start the userspace NFS server | 260 | # Start the userspace NFS server |
261 | echo "poky-export-rootfs restart $ROOTFS" | 261 | echo "runqemu-export-rootfs restart $ROOTFS" |
262 | poky-export-rootfs restart $ROOTFS | 262 | runqemu-export-rootfs restart $ROOTFS |
263 | if [ $? != 0 ]; then | 263 | if [ $? != 0 ]; then |
264 | cleanup | 264 | cleanup |
265 | return | 265 | return |
@@ -351,7 +351,7 @@ if [ "$MACHINE" = "spitz" ]; then | |||
351 | echo $ROOTFS | 351 | echo $ROOTFS |
352 | if [ ! -e "$ROOTFS.qemudisk" ]; then | 352 | if [ ! -e "$ROOTFS.qemudisk" ]; then |
353 | echo "Adding a partition table to the ext3 image for use by QEMU, please wait..." | 353 | echo "Adding a partition table to the ext3 image for use by QEMU, please wait..." |
354 | poky-addptable2image $ROOTFS $ROOTFS.qemudisk | 354 | runqemu-addptable2image $ROOTFS $ROOTFS.qemudisk |
355 | fi | 355 | fi |
356 | QEMUOPTIONS="$QEMU_NETWORK_CMD -M spitz -hda $ROOTFS.qemudisk -portrait" | 356 | QEMUOPTIONS="$QEMU_NETWORK_CMD -M spitz -hda $ROOTFS.qemudisk -portrait" |
357 | fi | 357 | fi |