usbmuxd: Update to latest git
[feed/packages.git] / utils / attendedsysupgrade-common / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=attendedsysupgrade-common
8 PKG_VERSION:=0.2
9 PKG_RELEASE:=1
10 PKG_LICENSE:=GPL-2.0
11
12 include $(INCLUDE_DIR)/package.mk
13
14 define Package/attendedsysupgrade-common
15 SECTION:=utils
16 CATEGORY:=Base system
17 TITLE:=Common files neede by attendedsysupgrade packages
18 MAINTAINER:=Paul Spooren <paul@spooren.de>
19 DEPENDS:=+rpcd +rpcd-mod-rpcsys
20 endef
21
22 define Package/attendedsysupgrade-common/description
23 Common needed files for attendedsysupgrade tool
24
25 Manages dependencies and brings settings used by clients.
26
27 UCI options:
28
29 attendedsysupgrade.server.url
30 URL of compatible upgrade server [1]
31
32 attendedsysupgrade.client.upgrade_packages
33 Client should request image also if no new release but new packages upgrade are available.
34
35 attendedsysupgrade.client.advanced_mode
36 Offer advanced options like editing packages before request and show additional information.
37
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.
41
42 [1]: https://github.com/aparcar/gsoc17-attended-sysupgrade
43 endef
44
45 define Build/Compile
46 endef
47
48 define Build/Configure
49 endef
50
51 define Package/attendedsysupgrade-common/install
52 $(INSTALL_DIR) $(1)/etc/uci-defaults/
53 $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
54
55 $(INSTALL_DIR) $(1)/etc/opkg/keys/
56 $(INSTALL_BIN) ./files/c06d891233ba699 $(1)/etc/opkg/keys/c06d891233ba699
57 endef
58
59 $(eval $(call BuildPackage,attendedsysupgrade-common))