From 19059aefc92ce36505c0b26a127c141373902d99 Mon Sep 17 00:00:00 2001 From: David Andreoletti Date: Thu, 14 Mar 2024 02:15:49 +0800 Subject: [PATCH] Fixed snapcast etc/default files copy into package - superseeds PR #28 + #26 --- openwrt/README.md | 2 +- openwrt/snapcast/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openwrt/README.md b/openwrt/README.md index 4449596..5a6b76c 100644 --- a/openwrt/README.md +++ b/openwrt/README.md @@ -110,7 +110,7 @@ Also make sure to select your device in the target settings. $ cd $ make defconfig $ make menuconfig -$ make +$ make package/snapcast/compile ``` The packaged `ipk` file is in diff --git a/openwrt/snapcast/Makefile b/openwrt/snapcast/Makefile index 0169cf0..a7c2291 100644 --- a/openwrt/snapcast/Makefile +++ b/openwrt/snapcast/Makefile @@ -99,7 +99,7 @@ define Package/snapserver/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/snapserver.init $(1)/etc/init.d/snapserver $(INSTALL_DIR) $(1)/etc/default - $(INSTALL_BIN) $(PKG_BUILD_DIR)/debian/snapserver.default $(1)/etc/default/snapserver + $(INSTALL_BIN) $(CURDIR)/../../debian/snapserver.default $(1)/etc/default/snapserver $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/etc/snapserver.conf $(1)/etc/snapserver.conf endef @@ -109,7 +109,7 @@ define Package/snapclient/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/snapclient.init $(1)/etc/init.d/snapclient $(INSTALL_DIR) $(1)/etc/default - $(INSTALL_BIN) $(PKG_BUILD_DIR)/debian/snapclient.default $(1)/etc/default/snapclient + $(INSTALL_BIN) $(CURDIR)/../../debian/snapclient.default $(1)/etc/default/snapclient endef $(eval $(call BuildPackage,snapserver))