]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-env-internal: Print some further information for the user
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 22 Jul 2010 12:21:13 +0000 (13:21 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 22 Jul 2010 12:21:13 +0000 (13:21 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
scripts/poky-env-internal

index c814314744e24398e87f865038270cbfdd0f81bc..9621aa6b78bc4f6721e79ee82890e2bcb1581f3a 100755 (executable)
@@ -18,7 +18,6 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-
 # scripts/ is a sub-directory of OEROOT, we use readlink to get the full path
 SCRIPTPATH=`readlink -f "$BASH_SOURCE"`
 OEROOT="`dirname $SCRIPTPATH`/../"
@@ -77,6 +76,13 @@ if [ "x" = "x$POKYLAYERCONF" ]; then
     POKYLAYERCONF="$OEROOT/build/conf/bblayers.conf.sample"
 fi
 if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
+    echo "You had no conf/bblayers.conf file. Poky has created this configuration file for you"
+    echo "with some default values. To add additional metadata layers into your configuration please"
+    echo "add entries to this file."
+    echo
+    echo "For more information see the Poky handbook: http://pokylinux.org/doc/poky-handbook.html"
+    echo
+
     # Put the abosolute path to the layers in bblayers.conf so we can run
     # bitbake without the init script after the first run
     sed "s|##POKYBASE##|$OEROOT|g" $POKYLAYERCONF > $BUILDDIR/conf/bblayers.conf