[arch-releng] [PATCH] Makefile: Do not preserve ownership

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Oct 5 12:36:37 EDT 2012


On 10/05/2012 01:20 PM, Pierre Schmitz wrote:
> If we use cp -a files might copied with the wrong ownership and might end up like this on the target iso.
>
> Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
> ---
>   Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 1abeb4a..2284865 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -24,7 +24,7 @@ install-initcpio:
>   
>   install-examples:
>   	install -d -m 755 $(DESTDIR)/usr/share/archiso/
> -	cp -a configs $(DESTDIR)/usr/share/archiso/
> +	cp -a --no-preserve=ownership configs $(DESTDIR)/usr/share/archiso/
>   
>   install-doc:
>   	install -D -m 644 README $(DESTDIR)/usr/share/doc/archiso/README

Thanks for these patches.

Can you put these patches in your archiso repo @ github? I can 
review/test tomorrow, but if you want push to master and release a new 
archiso, go ahead. All seems fine.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list