mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01: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:
committed by
Richard Purdie
parent
4287e5eca5
commit
d8caef4f6e
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user