summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 12:26:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 12:56:16 +0100
commit65f4b6541041e62f562830cfedf8284c0bc86a16 (patch)
tree0effc3553e119325dd1cd70a33c3712ad4d9cf56 /scripts/runqemu-gen-tapdevs
parent91d72e6a992d5ed55c0af427e147c7ae3adc517c (diff)
downloadpoky-65f4b6541041e62f562830cfedf8284c0bc86a16.tar.gz
Further cleanup of various poky references
(From OE-Core rev: fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rw-r--r--scripts/runqemu-gen-tapdevs12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index f52cf0b9b9..995e1d5204 100644
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -2,10 +2,10 @@
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# runqemu 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 the build system sysroot. Note: many Linux
6# these days still use an older version of tunctl which does not 6# distros 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 the build
8# version. 8# system provided version.
9# 9#
10# Copyright (C) 2010 Intel Corp. 10# Copyright (C) 2010 Intel Corp.
11# 11#
@@ -26,7 +26,7 @@ usage() {
26 echo "Usage: sudo $0 <gid> <num> <native-sysroot-basedir>" 26 echo "Usage: sudo $0 <gid> <num> <native-sysroot-basedir>"
27 echo "Where <gid> is the numeric group id the tap devices will be owned by" 27 echo "Where <gid> is the numeric group id the tap devices will be owned by"
28 echo "<num> is the number of tap devices to create (0 to remove all)" 28 echo "<num> is the number of tap devices to create (0 to remove all)"
29 echo "<native-sysroot-basedir> is the path to Poky's native sysroot" 29 echo "<native-sysroot-basedir> is the path to the build system's native sysroot"
30 exit 1 30 exit 1
31} 31}
32 32
@@ -82,4 +82,4 @@ done
82# The runqemu 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.
85touch /etc/poky-nosudo 85touch /etc/runqemu-nosudo