From: Nicolas Thill Date: Thu, 2 Apr 2015 14:53:00 +0000 (+0000) Subject: ugps: add conffiles section, fix config file perms X-Git-Tag: reboot~3497 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=275df67b6cd5954061f7fe8b9ca97499ebc198f7 ugps: add conffiles section, fix config file perms Signed-off-by: Nicolas Thill SVN-Revision: 45240 --- diff --git a/package/utils/ugps/Makefile b/package/utils/ugps/Makefile index 3662125c3a..b724f6189d 100644 --- a/package/utils/ugps/Makefile +++ b/package/utils/ugps/Makefile @@ -36,11 +36,15 @@ ifneq ($(CONFIG_USE_GLIBC),) TARGET_CFLAGS += -D_DEFAULT_SOURCE endif +define Package/ugps/conffiles +/etc/config/gps +endef + define Package/ugps/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config $(INSTALL_BIN) $(PKG_BUILD_DIR)/ugps $(1)/usr/sbin/ $(INSTALL_BIN) ./files/ugps.init $(1)/etc/init.d/ugps - $(INSTALL_BIN) ./files/gps.config $(1)/etc/config/gps + $(INSTALL_CONF) ./files/gps.config $(1)/etc/config/gps endef $(eval $(call BuildPackage,ugps))