[oe-commits] Alex Franco : Fix recursive mode -st on BUILDDIR setup
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 2 22:54:23 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 170cfa6a92effd197beb4b29704749a6a44deac7
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=170cfa6a92effd197beb4b29704749a6a44deac7
Author: Alex Franco <alejandro.franco at linux.intel.com>
Date: Wed Sep 2 17:45:57 2015 -0500
Fix recursive mode -st on BUILDDIR setup
Removing recursive option from chmod -st on BUILDDIR as it would
take very long on existing build directories
[YOCTO 7669]
Signed-off-by: Alex Franco <alejandro.franco at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-setup-builddir | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index f5b7e4e..25d9f13 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -24,7 +24,10 @@ if [ -z "$BUILDDIR" ]; then
fi
mkdir -p "$BUILDDIR/conf"
-chmod -R -st "$BUILDDIR"
+
+# Attempting to remove sticky and setuid bits from BUILDDIR and
+# BUILDDIR/conf directories. #TODO appropriate checks for this
+chmod -st "$BUILDDIR" "$BUILDDIR/conf"
if [ ! -d "$BUILDDIR" ]; then
echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"
More information about the Openembedded-commits
mailing list