Merge pull request #62 from quic-bjorande/for-linux-msm/cpio-owner

Makefile: Override owner of files in cpio archive
This commit is contained in:
Bjorn Andersson
2024-04-23 16:15:02 -05:00
committed by GitHub

View File

@@ -37,7 +37,7 @@ install: $(all-install)
CPIO := $(PWD)/$(CPIONAME).cpio
$(CPIO): $(all-install)
@cd $(DESTDIR) && find ./$(prefix) | cpio -o -H newc > $(CPIO)
@cd $(DESTDIR) && find ./$(prefix) | cpio -o -H newc -R +0:+0 > $(CPIO)
%.cpio.gz: %.cpio
@gzip < $< > $@