[OE-core] [PATCH] Fix recursive mode -st on BUILDDIR setup
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Sep 2 17:51:23 UTC 2015
On Wed, 2015-09-02 at 11:36 -0500, Alex Franco wrote:
> 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>
> ---
> scripts/oe-setup-builddir | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
> index f5b7e4e..44c7dcc 100755
> --- a/scripts/oe-setup-builddir
> +++ b/scripts/oe-setup-builddir
> @@ -24,7 +24,7 @@ if [ -z "$BUILDDIR" ]; then
> fi
>
> mkdir -p "$BUILDDIR/conf"
> -chmod -R -st "$BUILDDIR"
> +chmod -st "$BUILDDIR"
I think you did this so that conf/ gets the right permissions too.
Perhaps the best approach is:
+chmod -st "$BUILDDIR" $BUILDDIR/conf"
?
Cheers,
Richard
More information about the Openembedded-core
mailing list