summaryrefslogtreecommitdiffstats
path: root/meta
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
parent08d07355c5b807693a059bf7dc4dc614350bd53f (diff)
downloadpoky-45871802afa45885b6d5e0af5c006243299b0c7d.tar.gz
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')
-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
136# if don't have the right to access dir, gain by sudo 136# if don't have the right to access dir, gain by sudo
137if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; then 137if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; then
138 if [ "$SDK_EXTENSIBLE" = "1" ]; then 138 if [ "$SDK_EXTENSIBLE" = "1" ]; then
139 echo "Unable to access \"$target_sdk_dir\"." 139 echo "Unable to access \"$target_sdk_dir\", will not attempt to use" \
140 "sudo as as extensible SDK cannot be used as root."
140 exit 1 141 exit 1
141 fi 142 fi
142 143