From 4dc1232c2f4ee3969556b2f6a569d421427b953e Mon Sep 17 00:00:00 2001 From: Szabolcs Hubai Date: Sat, 15 Apr 2023 23:45:05 +0200 Subject: [PATCH] openwrt: fix build after moving debhelper files from Snapcast to SnapOS After commit badaix/snapcast@0868ae1a6865 ("Remove debhelper files") it's unable to build Snapcast for OpenWrt. Those files arrived here in commit 0a8e5b82437d ("Add debian package"). Fixes: #23 --- openwrt/snapcast/Makefile | 4 ++-- openwrt/snapcast/files/debian | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 openwrt/snapcast/files/debian diff --git a/openwrt/snapcast/Makefile b/openwrt/snapcast/Makefile index 0169cf0..ceaa52a 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) ./files/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) ./files/debian/snapclient.default $(1)/etc/default/snapclient endef $(eval $(call BuildPackage,snapserver)) diff --git a/openwrt/snapcast/files/debian b/openwrt/snapcast/files/debian new file mode 120000 index 0000000..61c3c9f --- /dev/null +++ b/openwrt/snapcast/files/debian @@ -0,0 +1 @@ +../../../debian/ \ No newline at end of file