From: Brendan Le Foll Date: Mon, 7 Sep 2015 12:42:19 +0000 (+0100) Subject: toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0129a12dd3bdb0e9966643c3a355d5eec846da8b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK Signed-off-by: Brendan Le Foll Signed-off-by: Richard Purdie --- diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 27a16074b73..36249404305 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