The /etc/config/usbgadget file is a conffile, so specify
it as such.

Cc: Chuanhong Guo <gch981...@gmail.com>
Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
---
 package/utils/usbgadget/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/utils/usbgadget/Makefile b/package/utils/usbgadget/Makefile
index 
65673e730f1728b9d6d33c0533669d988d9789b1..55f30b6729a00c6cf28da19f25653a3217243495
 100644
--- a/package/utils/usbgadget/Makefile
+++ b/package/utils/usbgadget/Makefile
@@ -16,6 +16,10 @@ define Package/$(PKG_NAME)
   TITLE:=init script to create USB gadgets
 endef
 
+define Package/$(PKG_NAME)/conffiles
+/etc/config/usbgadget
+endef
+
 define Build/Compile
 endef
 

-- 
2.49.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to