From 61fcb7ecb61c6c27c77f057109ace98a4ac6edac Mon Sep 17 00:00:00 2001 From: Wouter R Date: Wed, 16 Mar 2016 22:30:39 +0100 Subject: [PATCH] Makefile/opkg: register configuration file as such. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b2cdac2..e0361dc 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,12 @@ define Build/Compile directives # no compilation necessary (although possible with luac?) endef +# This information is contained within the ipk file and (at least) used by +# sysupgrade to determine which files to keep (see `opkg list-changed-conffiles`). +define Package/wifibox/conffiles +/etc/config/wifibox +endef + # The $(1) variable represents the root directory on the router running # OpenWrt. The $(INSTALL_DIR) variable contains a command to prepare the install # directory if it does not already exist. Likewise $(INSTALL_BIN) contains the