[OE-core] [PATCH V2 3/3] toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK

brendan.le.foll at intel.com brendan.le.foll at intel.com
Thu Aug 20 21:38:22 UTC 2015


From: Brendan Le Foll <brendan.le.foll at intel.com>

Signed-off-by: Brendan Le Foll <brendan.le.foll at intel.com>
---
 meta/files/toolchain-shar-extract.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 41b3f2c..edf26f6 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -131,7 +131,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
 
-- 
2.5.0




More information about the Openembedded-core mailing list