]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 7 Sep 2015 12:42:19 +0000 (13:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:10:58 +0000 (16:10 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/toolchain-shar-extract.sh

index 27a16074b739387637cd87c4acd5d8a520ab3ef4..36249404305e8a4b78df85c054efc7f7054997fb 100644 (file)
@@ -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