Skip to content

Commit

Permalink
Use a more compatible TAR format for iOS debs
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Dec 16, 2023
1 parent 9cc70c0 commit 9619500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@) ./Applications)
(cd $(OBJ) && tar -czf $(abspath $@) --format ustar ./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 $@) ./control ./postinst)
(cd $(OBJ) && tar -czf $(abspath $@) --format ustar ./control ./postinst)
rm $(OBJ)/control $(OBJ)/postinst

$(OBJ)/debian-binary:
Expand Down

0 comments on commit 9619500

Please sign in to comment.