From b516f9a3ee69599d4c6f1d36c838c50d6e3fd9d3 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 22 Dec 2023 15:13:45 +0200 Subject: [PATCH] Drop ownership information from DEB TARs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 37dac58c2..e3e667c7a 100644 --- a/Makefile +++ b/Makefile @@ -689,14 +689,14 @@ $(OBJ)/data.tar.gz: ios iOS/jailbreak.entitlements cp -rf $(BIN)/SameBoy-iOS.app $(OBJ)/Applications/SameBoy-iOS.app cp build/obj-ios/reregister iOS/reregister.entitlements $(OBJ)/Applications/SameBoy-iOS.app codesign -fs - --entitlements iOS/jailbreak.entitlements $(OBJ)/Applications/SameBoy-iOS.app - (cd $(OBJ) && tar -czf $(abspath $@) --format ustar ./Applications) + (cd $(OBJ) && tar -czf $(abspath $@) --format ustar --uid 501 --gid 501 --numeric-owner ./Applications) rm -rf $(OBJ)/Applications $(OBJ)/control.tar.gz: iOS/deb-postinst iOS/deb-control -@$(MKDIR) -p $(dir $@) sed "s/@VERSION/$(VERSION)/" < iOS/deb-control > $(OBJ)/control ln iOS/deb-postinst $(OBJ)/postinst - (cd $(OBJ) && tar -czf $(abspath $@) --format ustar ./control ./postinst) + (cd $(OBJ) && tar -czf $(abspath $@) --format ustar --uid 501 --gid 501 --numeric-owner ./control ./postinst) rm $(OBJ)/control $(OBJ)/postinst $(OBJ)/debian-binary: