Skip to content

Commit

Permalink
snapos PR badaix#28 + badaix#26
Browse files Browse the repository at this point in the history
  • Loading branch information
davidandreoletti committed Mar 13, 2024
1 parent 79f5871 commit 7bc7d0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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) ./files/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) ./files/debian/snapclient.default $(1)/etc/default/snapclient
endef

$(eval $(call BuildPackage,snapserver))
Expand Down
1 change: 1 addition & 0 deletions openwrt/snapcast/files/debian
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../../../debian/

0 comments on commit 7bc7d0f

Please sign in to comment.