From 25f2821409624286917c694586b43eb5037b3e1b Mon Sep 17 00:00:00 2001 From: Vladimir Avtsenov <vladimir.lsk.cool@gmail.com> Date: Thu, 13 Feb 2025 23:55:45 +0300 Subject: [PATCH] fix opt location --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42c4a05..8b8aef1 100644 --- a/Makefile +++ b/Makefile @@ -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