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

Pierre Schmitz pierre at archlinux.de
Fri Oct 5 12:20:49 EDT 2012


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
-- 
1.7.12.2


More information about the arch-releng mailing list