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 <[email protected]>
---
 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

Reply via email to