1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR)/rules.mk
7 PKG_NAME:=attendedsysupgrade-common
12 include $(INCLUDE_DIR)/package.mk
14 define Package/attendedsysupgrade-common
17 TITLE:=Common files neede by attendedsysupgrade packages
18 MAINTAINER:=Paul Spooren <paul@spooren.de>
19 DEPENDS:=+rpcd +rpcd-mod-rpcsys
22 define Package/attendedsysupgrade-common/description
23 Common needed files for attendedsysupgrade tool
25 Manages dependencies and brings settings used by clients.
29 attendedsysupgrade.server.url
30 URL of compatible upgrade server [1]
32 attendedsysupgrade.client.upgrade_packages
33 Client should request image also if no new release but new packages upgrade are available.
35 attendedsysupgrade.client.advanced_mode
36 Offer advanced options like editing packages before request and show additional information.
38 attendedsysupgrade.client.auto_search
39 Tells the client to automattically search for upgrades
40 This can be done when opening luci or login in to console - depends on client.
42 [1]: https://github.com/aparcar/gsoc17-attended-sysupgrade
48 define Build/Configure
51 define Package/attendedsysupgrade-common/install
52 $(INSTALL_DIR) $(1)/etc/uci-defaults/
53 $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
56 $(eval $(call BuildPackage,attendedsysupgrade-common))