diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-22 13:21:13 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-22 13:21:13 +0100 |
commit | 83cc54944e5cc84221ef83c91c31043967f9d4dd (patch) | |
tree | 344162dceb3fcf233c6a110ca3a233beba1c2401 /scripts/poky-env-internal | |
parent | 9832fd3e2270b837c31cbb9b33f33452d6a3f398 (diff) | |
download | poky-83cc54944e5cc84221ef83c91c31043967f9d4dd.tar.gz |
poky-env-internal: Print some further information for the user
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-x | scripts/poky-env-internal | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index c814314744..9621aa6b78 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal | |||
@@ -18,7 +18,6 @@ | |||
18 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, write to the Free Software |
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | 20 | ||
21 | |||
22 | # scripts/ is a sub-directory of OEROOT, we use readlink to get the full path | 21 | # scripts/ is a sub-directory of OEROOT, we use readlink to get the full path |
23 | SCRIPTPATH=`readlink -f "$BASH_SOURCE"` | 22 | SCRIPTPATH=`readlink -f "$BASH_SOURCE"` |
24 | OEROOT="`dirname $SCRIPTPATH`/../" | 23 | OEROOT="`dirname $SCRIPTPATH`/../" |
@@ -77,6 +76,13 @@ if [ "x" = "x$POKYLAYERCONF" ]; then | |||
77 | POKYLAYERCONF="$OEROOT/build/conf/bblayers.conf.sample" | 76 | POKYLAYERCONF="$OEROOT/build/conf/bblayers.conf.sample" |
78 | fi | 77 | fi |
79 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then | 78 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then |
79 | echo "You had no conf/bblayers.conf file. Poky has created this configuration file for you" | ||
80 | echo "with some default values. To add additional metadata layers into your configuration please" | ||
81 | echo "add entries to this file." | ||
82 | echo | ||
83 | echo "For more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html" | ||
84 | echo | ||
85 | |||
80 | # Put the abosolute path to the layers in bblayers.conf so we can run | 86 | # Put the abosolute path to the layers in bblayers.conf so we can run |
81 | # bitbake without the init script after the first run | 87 | # bitbake without the init script after the first run |
82 | sed "s|##POKYBASE##|$OEROOT|g" $POKYLAYERCONF > $BUILDDIR/conf/bblayers.conf | 88 | sed "s|##POKYBASE##|$OEROOT|g" $POKYLAYERCONF > $BUILDDIR/conf/bblayers.conf |