[arch-releng] [PATCH] Makefile: Do not preserve ownership
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@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 -- 1.7.12.2
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@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
Am 05.10.2012 18:36, schrieb Gerardo Exequiel Pozzi:
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@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.
I just pushed the patches; there is nothing exciting in there anyway. I already tested all this. It's likely I'll do a release tomorrow. Only thing left to do is to find out what's with kernel 3.5.5 and I also wanted to alter some tings in the install document. Greetings, Pierre -- Pierre Schmitz, https://pierre-schmitz.com
participants (2)
-
Gerardo Exequiel Pozzi
-
Pierre Schmitz