summaryrefslogtreecommitdiff
path: root/meta/files
diff options
context:
space:
mode:
authorBrendan Le Foll <brendan.le.foll@intel.com>2015-09-07 13:42:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-07 16:10:58 +0100
commit0129a12dd3bdb0e9966643c3a355d5eec846da8b (patch)
treeb92941e7b44ceb2d9a465d8bc4f4c884924b3203 /meta/files
parent5486e76cd8abb946b81cff78719d67cfb87cddc6 (diff)
downloadopenembedded-core-0129a12dd3bdb0e9966643c3a355d5eec846da8b.tar.gz
openembedded-core-0129a12dd3bdb0e9966643c3a355d5eec846da8b.tar.bz2
openembedded-core-0129a12dd3bdb0e9966643c3a355d5eec846da8b.zip
toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/toolchain-shar-extract.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 27a16074b7..3624940430 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -136,7 +136,8 @@ mkdir -p $target_sdk_dir >/dev/null 2>&1
# if don't have the right to access dir, gain by sudo
if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; then
if [ "$SDK_EXTENSIBLE" = "1" ]; then
- echo "Unable to access \"$target_sdk_dir\"."
+ echo "Unable to access \"$target_sdk_dir\", will not attempt to use" \
+ "sudo as as extensible SDK cannot be used as root."
exit 1
fi