summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2015-09-02 17:45:57 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:32 +0100
commitd8caef4f6e38efb739866a1de38f3bae8f1754ed (patch)
treef5cacde4c89f758006a023582aae9e0f541f8193
parent4287e5eca5e7fccfad671f732e1d2f07a77d35e1 (diff)
downloadpoky-d8caef4f6e38efb739866a1de38f3bae8f1754ed.tar.gz
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] (From OE-Core rev: 170cfa6a92effd197beb4b29704749a6a44deac7) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-setup-builddir5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index f5b7e4e2d0..25d9f134a1 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -24,7 +24,10 @@ if [ -z "$BUILDDIR" ]; then
24fi 24fi
25 25
26mkdir -p "$BUILDDIR/conf" 26mkdir -p "$BUILDDIR/conf"
27chmod -R -st "$BUILDDIR" 27
28# Attempting to remove sticky and setuid bits from BUILDDIR and
29# BUILDDIR/conf directories. #TODO appropriate checks for this
30chmod -st "$BUILDDIR" "$BUILDDIR/conf"
28 31
29if [ ! -d "$BUILDDIR" ]; then 32if [ ! -d "$BUILDDIR" ]; then
30 echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" 33 echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"