using tar instead of ar
Some checks failed
Build and Package OPKG / Build aarch64 (push) Failing after 48s
Build and Package OPKG / Build armv5 (push) Failing after 43s
Build and Package OPKG / Build armv7 (push) Failing after 44s
Build and Package OPKG / Build mips (push) Failing after 43s
Build and Package OPKG / Build mipsel (push) Failing after 42s

This commit is contained in:
Vladimir Avtsenov 2025-02-14 00:23:51 +03:00
parent 4be873beb3
commit 3dd0003016

View File

@ -38,4 +38,4 @@ package:
@cp -r ./opt $(PKG_DIR)/data/
@fakeroot sh -c "tar -C $(PKG_DIR)/control -czvf $(PKG_DIR)/control.tar.gz ."
@fakeroot sh -c "tar -C $(PKG_DIR)/data -czvf $(PKG_DIR)/data.tar.gz ."
@ar r $(BUILD_DIR)/$(APP_NAME)_$(ARCH).ipk $(PKG_DIR)/debian-binary $(PKG_DIR)/control.tar.gz $(PKG_DIR)/data.tar.gz
@tar -C $(PKG_DIR) -czvf $(BUILD_DIR)/$(APP_NAME)_$(ARCH).ipk $(PKG_DIR)/debian-binary $(PKG_DIR)/control.tar.gz $(PKG_DIR)/data.tar.gz .