summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-02 15:31:04 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-16 10:37:58 +0000
commit8d1d9cfdb52317049ff4d894706b1c9a6492b81a (patch)
tree7ea53a16345e3b9e5b9003b41d31f39602321114 /scripts
parentc2fd90f24581495cb044296570a5a16288c92d0e (diff)
downloadpoky-8d1d9cfdb52317049ff4d894706b1c9a6492b81a.tar.gz
oe-setup-builddir: fix TEMPLATECONF error message
This directory shouldn't contain local.conf and bblayers.conf - just templates for them; except it doesn't have to contain those, it just has to exist to pass this test. Change the error message accordingly, and mention TEMPLATECONF so that the user has at least some context. (From OE-Core rev: 61adaaa4348c670769f8750223977dbefe369ffb) (From OE-Core rev: 3136666fee621d94ec4c48e706f0dad3b6b6f08c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-setup-builddir2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 93722e08ad..e53f73c9ce 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -61,7 +61,7 @@ if [ -n "$TEMPLATECONF" ]; then
61 TEMPLATECONF="$OEROOT/$TEMPLATECONF" 61 TEMPLATECONF="$OEROOT/$TEMPLATECONF"
62 fi 62 fi
63 if [ ! -d "$TEMPLATECONF" ]; then 63 if [ ! -d "$TEMPLATECONF" ]; then
64 echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf" 64 echo >&2 "Error: TEMPLATECONF value points to nonexistent directory '$TEMPLATECONF'"
65 exit 1 65 exit 1
66 fi 66 fi
67 fi 67 fi