diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 16:44:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:29 +0100 |
commit | 08127d444e05d8d33ce39abdce677655bd4766ea (patch) | |
tree | 926947a62cc4b1cbed4afc31a717305de9b1c57d /scripts/poky-gen-tapdevs | |
parent | 46d0cc3dc88307d69a7884c0e5c79e0c8d5e4dc7 (diff) | |
download | poky-08127d444e05d8d33ce39abdce677655bd4766ea.tar.gz |
Rename poky-qemu to runqemu
(From OE-Core rev: 7687d91f73f4a116593315b3b1488ac3f0904905)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/poky-gen-tapdevs')
-rwxr-xr-x | scripts/poky-gen-tapdevs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/poky-gen-tapdevs b/scripts/poky-gen-tapdevs index 2117a7b08e..527c01e7b4 100755 --- a/scripts/poky-gen-tapdevs +++ b/scripts/poky-gen-tapdevs | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Create a "bank" of tap network devices that can be used by the | 3 | # Create a "bank" of tap network devices that can be used by the |
4 | # poky-qemu script. This script needs to be run as root, and will | 4 | # runqemu script. This script needs to be run as root, and will |
5 | # use the tunctl binary from a Poky sysroot. Note: many Linux distros | 5 | # use the tunctl binary from a Poky sysroot. Note: many Linux distros |
6 | # these days still use an older version of tunctl which does not | 6 | # these days still use an older version of tunctl which does not |
7 | # support the group permissions option, hence the need to use Poky's | 7 | # support the group permissions option, hence the need to use Poky's |
@@ -51,9 +51,9 @@ if [[ ! -x "$TUNCTL" || -d "$TUNCTL" ]]; then | |||
51 | fi | 51 | fi |
52 | 52 | ||
53 | SCRIPT_DIR=`dirname $0` | 53 | SCRIPT_DIR=`dirname $0` |
54 | POKY_QEMU_IFUP="$SCRIPT_DIR/poky-qemu-ifup" | 54 | POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup" |
55 | if [ ! -x "$POKY_QEMU_IFUP" ]; then | 55 | if [ ! -x "$POKY_QEMU_IFUP" ]; then |
56 | echo "Error: Unable to find the poky-qemu-ifup script in $SCRIPT_DIR" | 56 | echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR" |
57 | exit 1 | 57 | exit 1 |
58 | fi | 58 | fi |
59 | 59 | ||
@@ -79,7 +79,7 @@ for ((index=0; index < $COUNT; index++)); do | |||
79 | fi | 79 | fi |
80 | done | 80 | done |
81 | 81 | ||
82 | # The poky-qemu script will check for this file, and if it exists, | 82 | # The runqemu script will check for this file, and if it exists, |
83 | # will use the existing bank of tap devices without creating | 83 | # will use the existing bank of tap devices without creating |
84 | # additional ones via sudo. | 84 | # additional ones via sudo. |
85 | touch /etc/poky-nosudo | 85 | touch /etc/poky-nosudo |