[oe-commits] Brendan Le Foll : toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 7 16:02:08 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 0129a12dd3bdb0e9966643c3a355d5eec846da8b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0129a12dd3bdb0e9966643c3a355d5eec846da8b
Author: Brendan Le Foll <brendan.le.foll at intel.com>
Date: Mon Sep 7 13:42:19 2015 +0100
toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK
Signed-off-by: Brendan Le Foll <brendan.le.foll at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 27a1607..3624940 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
More information about the Openembedded-commits
mailing list