mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
4287e5eca5
commit
d8caef4f6e
|
@ -24,7 +24,10 @@ if [ -z "$BUILDDIR" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$BUILDDIR/conf"
|
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
|
if [ ! -d "$BUILDDIR" ]; then
|
||||||
echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"
|
echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user