Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Fixed snapcast etc/default files copy into package - supersedes PR #28/#26 #29

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openwrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Also make sure to select your device in the target settings.
$ cd <wrt dir>
$ make defconfig
$ make menuconfig
$ make
$ make package/snapcast/compile
```

The packaged `ipk` file is in
Expand Down
4 changes: 2 additions & 2 deletions openwrt/snapcast/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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))
Expand Down
Loading