treewide: correctly specify conffiles (#2276)

Specify conffiles for our packages, so they aren't overwritten during
opkg updates. While this only matters during development, it is
unintended to have different behaviour for opkg update and full firmware
updates.
This commit is contained in:
Matthias Schiffer 2021-07-23 19:48:58 +02:00 committed by GitHub
parent 3a885a1b22
commit f4a3afe8fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 0 deletions

View File

@ -27,6 +27,11 @@ config GLUON_MINIFY
default y default y
endef endef
define Package/gluon-core/conffiles
/etc/config/gluon
/etc/config/gluon-core
endef
define Package/gluon-core/install define Package/gluon-core/install
$(Gluon/Build/Install) $(Gluon/Build/Install)

View File

@ -11,4 +11,8 @@ define Package/gluon-node-info
DEPENDS:=+gluon-core +libgluonutil DEPENDS:=+gluon-core +libgluonutil
endef endef
define Package/gluon-node-info/conffiles
/etc/config/gluon-node-info
endef
$(eval $(call BuildPackageGluon,gluon-node-info)) $(eval $(call BuildPackageGluon,gluon-node-info))

View File

@ -17,6 +17,10 @@ define Package/gluon-setup-mode/description
Offline mode to perform basic setup in a secure manner. Offline mode to perform basic setup in a secure manner.
endef endef
define Package/gluon-setup-mode/conffiles
/etc/config/gluon-setup-mode
endef
init_links := \ init_links := \
K89log \ K89log \
K98boot \ K98boot \

View File

@ -14,4 +14,8 @@ define Package/gluon-wan-dnsmasq/description
Gluon community wifi mesh firmware framework: Support for a secondary DNS server using the WAN interface Gluon community wifi mesh firmware framework: Support for a secondary DNS server using the WAN interface
endef endef
define Package/gluon-wan-dnsmasq/conffiles
/etc/config/gluon-wan-dnsmasq
endef
$(eval $(call BuildPackageGluon,gluon-wan-dnsmasq)) $(eval $(call BuildPackageGluon,gluon-wan-dnsmasq))