summaryrefslogtreecommitdiff
path: root/scripts
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:26:25 +0100
commitfe73ea8c510877fe4e3c117985e8f3d0b79ddf1b (patch)
tree4321fc651226793fa91067797e84d91c1a9bd462 /scripts
parentf7eeaf9e69aa6a171eeb3d2fc4b22b31b05f604e (diff)
downloadopenembedded-core-fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b.tar.gz
openembedded-core-fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b.tar.bz2
openembedded-core-fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b.zip
Further cleanup of various poky references
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/README2
-rwxr-xr-xscripts/oe-buildenv-internal6
-rwxr-xr-xscripts/oe-find-native-sysroot6
-rwxr-xr-xscripts/oe-setup-builddir35
-rwxr-xr-xscripts/runqemu6
-rwxr-xr-xscripts/runqemu-export-rootfs2
-rwxr-xr-xscripts/runqemu-extract-sdk2
-rwxr-xr-xscripts/runqemu-gen-tapdevs12
-rwxr-xr-xscripts/runqemu-ifdown4
-rwxr-xr-xscripts/runqemu-ifup6
-rwxr-xr-xscripts/runqemu-internal6
11 files changed, 48 insertions, 39 deletions
diff --git a/scripts/README b/scripts/README
index 5363c9b4ef..1b8d127245 100644
--- a/scripts/README
+++ b/scripts/README
@@ -1 +1 @@
-This directory contains Various useful scripts for working with poky
+This directory contains Various useful scripts for working with OE builds
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 7e77e43df6..54430a026b 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -1,8 +1,8 @@
#!/bin/sh
-# Poky Build Enviroment Setup Script
+# OE-Core Build Enviroment Setup Script
#
-# Copyright (C) 2006-2007 OpenedHand Ltd.
+# Copyright (C) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ BITBAKEDIR=`readlink -f "$BITBAKEDIR"`
BUILDDIR=`readlink -f "$BUILDDIR"`
if ! (test -d "$BITBAKEDIR"); then
- echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Did you source the script in the poky directory?"
+ echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Did you source the script in the correct directory?"
return
fi
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot
index da00a07850..26fc730c60 100755
--- a/scripts/oe-find-native-sysroot
+++ b/scripts/oe-find-native-sysroot
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Find a native sysroot to use - either from an in-tree Poky build or
+# Find a native sysroot to use - either from an in-tree OE build or
# from a toolchain installation. It then ensures the variable
# $OECORE_NATIVE_SYSROOT is set to the sysroot's base directory, and sets
# $PSEUDO to the path of the pseudo binary.
@@ -15,7 +15,7 @@
# you set a variable $SKIP_STRICT_SYSROOT_CHECK to a non-empty string
# beforehand.
#
-# Copyright (c) 2010 Intel Corp.
+# Copyright (c) 2010 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -47,7 +47,7 @@ if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
fi
else
echo "Error: Unable to locate your native sysroot."
- echo "Did you forget to source the Poky environment script?"
+ echo "Did you forget to source the build environment setup script?"
if [ -z "$SKIP_STRICT_SYSROOT_CHECK" ]; then
exit 1
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 0e616a7805..2f8a0646b9 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -1,8 +1,8 @@
#!/bin/sh
-# Poky Build Enviroment Setup Script
+# OE Build Enviroment Setup Script
#
-# Copyright (C) 2006-2007 OpenedHand Ltd.
+# Copyright (C) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ if [ "x" != "x$TEMPLATECONF" ]; then
if ! (test -d "$TEMPLATECONF"); then
# Allow TEMPLATECONF=meta-xyz/conf as a shortcut
if [ -d "$OEROOT/$TEMPLATECONF" ]; then
- TEMPLATECONF="$OEROOT/$POKYCONF"
+ TEMPLATECONF="$OEROOT/$TEMPLATECONF"
fi
if ! (test -d "$TEMPLATECONF"); then
echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf"
@@ -60,15 +60,19 @@ if [ "x" = "x$OECORELOCALCONF" ]; then
fi
if ! (test -r "$BUILDDIR/conf/local.conf"); then
cat <<EOM
-You had no conf/local.conf file. Poky has created this configuration file for
-you with some default values. You may wish to edit it to use a different MACHINE
-(target hardware) or enable parallel build options to take advantage of multiple
-cores for example. See the file for more information as common configuration
-options are commented.
-
-Also, for more information see the Poky Reference Manual:
+You had no conf/local.conf file. This configuration file has therefore beend
+created for you with some default values. You may wish to edit it to use a
+different MACHINE (target hardware) or enable parallel build options to take
+advantage of multiple cores for example. See the file for more information as
+common configuration options are commented.
+
+The Yocto Project has extensive documentation about OE including a reference manual
+which can be found at:
http://yoctoproject.org/community/documentation
+For more information about OpenEmbedded see their website:
+ http://www.openembedded.org/
+
EOM
cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf
fi
@@ -78,13 +82,18 @@ if [ "x" = "x$OECORELAYERCONF" ]; then
fi
if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
cat <<EOM
-You had no conf/bblayers.conf file. Poky has created this configuration file for
+You had no conf/bblayers.conf file. The configuration file has been created for
you with some default values. To add additional metadata layers into your
configuration please add entries to this file.
-For more information see the Poky Reference Manual:
+The Yocto Project has extensive documentation about OE including a reference manual
+which can be found at:
http://yoctoproject.org/community/documentation
+For more information about OpenEmbedded see their website:
+ http://www.openembedded.org/
+
+
EOM
# Put the abosolute path to the layers in bblayers.conf so we can run
@@ -98,7 +107,7 @@ unset OECORELAYERCONF
cat <<EOM
-### Shell environment set up for Poky builds. ###
+### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
diff --git a/scripts/runqemu b/scripts/runqemu
index cef71712e7..a09362c6a1 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1,8 +1,8 @@
#!/bin/bash
#
-# Handle running Poky images standalone with QEMU
+# Handle running OE images standalone with QEMU
#
-# Copyright (C) 2006-2010 Intel Corp.
+# Copyright (C) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -282,7 +282,7 @@ setup_tmpdir() {
setup_sysroot() {
# Toolchain installs set up $OECORE_NATIVE_SYSROOT in their
# environment script. If that variable isn't set, we're
- # either in an in-tree poky scenario or the environment
+ # either in an in-tree build scenario or the environment
# script wasn't source'd.
if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
setup_tmpdir
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs
index ae724bd63e..6b4aee8116 100755
--- a/scripts/runqemu-export-rootfs
+++ b/scripts/runqemu-export-rootfs
@@ -41,7 +41,7 @@ NFS_EXPORT_DIR=$(cd "$2" && pwd)
SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot`
if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
echo "Error: Unable to find the oe-find-native-sysroot script"
- echo "Did you forget to source your Poky environment script?"
+ echo "Did you forget to source your build environment setup script?"
exit 1
fi
. $SYSROOT_SETUP_SCRIPT
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk
index e476f3f637..d30e5a64aa 100755
--- a/scripts/runqemu-extract-sdk
+++ b/scripts/runqemu-extract-sdk
@@ -32,7 +32,7 @@ fi
SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot`
if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
echo "Error: Unable to find the oe-find-native-sysroot script"
- echo "Did you forget to source your Poky environment script?"
+ echo "Did you forget to source your build system environment setup script?"
exit 1
fi
. $SYSROOT_SETUP_SCRIPT
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index f52cf0b9b9..995e1d5204 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -2,10 +2,10 @@
#
# Create a "bank" of tap network devices that can be used by the
# runqemu script. This script needs to be run as root, and will
-# use the tunctl binary from a Poky sysroot. Note: many Linux distros
-# these days still use an older version of tunctl which does not
-# support the group permissions option, hence the need to use Poky's
-# version.
+# use the tunctl binary from the build system sysroot. Note: many Linux
+# distros these days still use an older version of tunctl which does not
+# support the group permissions option, hence the need to use the build
+# system provided version.
#
# Copyright (C) 2010 Intel Corp.
#
@@ -26,7 +26,7 @@ usage() {
echo "Usage: sudo $0 <gid> <num> <native-sysroot-basedir>"
echo "Where <gid> is the numeric group id the tap devices will be owned by"
echo "<num> is the number of tap devices to create (0 to remove all)"
- echo "<native-sysroot-basedir> is the path to Poky's native sysroot"
+ echo "<native-sysroot-basedir> is the path to the build system's native sysroot"
exit 1
}
@@ -82,4 +82,4 @@ done
# The runqemu script will check for this file, and if it exists,
# will use the existing bank of tap devices without creating
# additional ones via sudo.
-touch /etc/poky-nosudo
+touch /etc/runqemu-nosudo
diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown
index 99613416c7..710d2975c5 100755
--- a/scripts/runqemu-ifdown
+++ b/scripts/runqemu-ifdown
@@ -2,7 +2,7 @@
#
# QEMU network configuration script to bring down tap devices. This
# utility needs to be run as root, and will use the tunctl binary
-# from a Poky sysroot.
+# from the native sysroot.
#
# If you find yourself calling this script a lot, you can add the
# the following to your /etc/sudoers file to be able to run this
@@ -11,7 +11,7 @@
# <my-username> ALL=NOPASSWD: /path/to/runqemu-ifup
# <my-username> ALL=NOPASSWD: /path/to/runqemu-ifdown
#
-# Copyright (c) 2006-2010 Intel Corp.
+# Copyright (c) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup
index a3914140a6..f9b2f035cd 100755
--- a/scripts/runqemu-ifup
+++ b/scripts/runqemu-ifup
@@ -1,10 +1,10 @@
#!/bin/bash
#
# QEMU network interface configuration script. This utility needs to
-# be run as root, and will use the tunctl binary from a Poky sysroot.
+# be run as root, and will use the tunctl binary from a native sysroot.
# Note: many Linux distros these days still use an older version of
# tunctl which does not support the group permissions option, hence
-# the need to use Poky's version.
+# the need to use build system's version.
#
# If you find yourself calling this script a lot, you can add the
# the following to your /etc/sudoers file to be able to run this
@@ -18,7 +18,7 @@
# that script, the runqemu script will never end up calling this
# script.
#
-# Copyright (c) 2006-2010 Intel Corp.
+# Copyright (c) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index afe97b5f9d..9a786e4290 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -1,8 +1,8 @@
#!/bin/bash -x
-# Handle running Poky images under qemu
+# Handle running OE images under qemu
#
-# Copyright (C) 2006-2008 OpenedHand Ltd.
+# Copyright (C) 2006-2011 Linux Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -86,7 +86,7 @@ fi
# This file is created when runqemu-gen-tapdevs creates a bank of tap
# devices, indicating that the user should not bring up new ones using
# sudo.
-NOSUDO_FLAG="/etc/poky-nosudo"
+NOSUDO_FLAG="/etc/runqemu-nosudo"
QEMUIFUP=`which runqemu-ifup`
QEMUIFDOWN=`which runqemu-ifdown`