summaryrefslogtreecommitdiffstats
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-09 14:27:40 +0100
commit45871802afa45885b6d5e0af5c006243299b0c7d (patch)
treed88977c7c5928faa845eabec7e04edc3e7e3a119 /meta/files
parent08d07355c5b807693a059bf7dc4dc614350bd53f (diff)
downloadopenembedded-core-contrib-45871802afa45885b6d5e0af5c006243299b0c7d.tar.gz
openembedded-core-contrib-45871802afa45885b6d5e0af5c006243299b0c7d.tar.bz2
openembedded-core-contrib-45871802afa45885b6d5e0af5c006243299b0c7d.zip
toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK
(From OE-Core rev: 0129a12dd3bdb0e9966643c3a355d5eec846da8b) 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