fix opt location
Some checks failed
Build and Package OPKG / Build aarch64 (push) Successful in 50s
Build and Package OPKG / Build armv7 (push) Has been cancelled
Build and Package OPKG / Build mips (push) Has been cancelled
Build and Package OPKG / Build mipsel (push) Has been cancelled
Build and Package OPKG / Build armv5 (push) Has been cancelled

This commit is contained in:
Vladimir Avtsenov 2025-02-13 23:55:45 +03:00
parent 4f89e4e1af
commit 25f2821409

View File

@ -35,7 +35,7 @@ package:
@echo 'Priority: optional' >> $(PKG_DIR)/control/control
@echo 'Depends: libc, iptables, socat' >> $(PKG_DIR)/control/control
@mkdir -p $(PKG_DIR)/data/opt/usr/bin
@cp -r ./opt/* $(PKG_DIR)/data/
@cp -r ./opt $(PKG_DIR)/data/
@fakeroot sh -c "tar -C $(PKG_DIR)/control -cvf $(PKG_DIR)/control.tar ."
@fakeroot sh -c "tar -C $(PKG_DIR)/data -cvf $(PKG_DIR)/data.tar ."
@ar r $(BUILD_DIR)/$(APP_NAME)_$(ARCH).ipk $(PKG_DIR)/debian-binary $(PKG_DIR)/control.tar $(PKG_DIR)/data.tar