diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2015-09-02 17:45:57 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:32 +0100 |
commit | d8caef4f6e38efb739866a1de38f3bae8f1754ed (patch) | |
tree | f5cacde4c89f758006a023582aae9e0f541f8193 | |
parent | 4287e5eca5e7fccfad671f732e1d2f07a77d35e1 (diff) | |
download | poky-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-x | scripts/oe-setup-builddir | 5 |
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 | |||
24 | fi | 24 | fi |
25 | 25 | ||
26 | mkdir -p "$BUILDDIR/conf" | 26 | mkdir -p "$BUILDDIR/conf" |
27 | chmod -R -st "$BUILDDIR" | 27 | |
28 | # Attempting to remove sticky and setuid bits from BUILDDIR and | ||
29 | # BUILDDIR/conf directories. #TODO appropriate checks for this | ||
30 | chmod -st "$BUILDDIR" "$BUILDDIR/conf" | ||
28 | 31 | ||
29 | if [ ! -d "$BUILDDIR" ]; then | 32 | if [ ! -d "$BUILDDIR" ]; then |
30 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" | 33 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" |