libv4l: update to 1.22.1
[feed/packages.git] / utils / attendedsysupgrade-common / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=attendedsysupgrade-common
6 PKG_VERSION:=$(COMMITCOUNT)
7 PKG_LICENSE:=GPL-2.0
8
9 include $(INCLUDE_DIR)/package.mk
10
11 define Package/attendedsysupgrade-common
12 SECTION:=utils
13 CATEGORY:=Base system
14 TITLE:=Common files neede by attendedsysupgrade packages
15 MAINTAINER:=Paul Spooren <mail@aparcar.org>
16 DEPENDS:=+rpcd +rpcd-mod-rpcsys
17 PKGARCH:=all
18 endef
19
20 define Package/attendedsysupgrade-common/description
21 Common needed files for attendedsysupgrade tool
22
23 Manages dependencies and brings settings used by clients.
24
25 UCI options:
26
27 * attendedsysupgrade.server.url
28 URL of compatible upgrade server [1]
29
30 * attendedsysupgrade.client.upgrade_packages
31 Client should request image also if no new release but new packages
32 upgrade are available.
33
34 * attendedsysupgrade.client.advanced_mode
35 Offer advanced options like editing packages before request and show
36 additional information.
37
38 * attendedsysupgrade.client.auto_search
39 Tells the client to automattically search for upgrades
40
41 [1]: https://github.com/aparcar/asu
42 endef
43
44 define Build/Compile
45 endef
46
47 define Build/Configure
48 endef
49
50 define Package/attendedsysupgrade-common/install
51 $(INSTALL_DIR) $(1)/etc/uci-defaults/
52 $(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
53
54 $(INSTALL_DIR) $(1)/etc/opkg/keys/
55 $(INSTALL_DATA) ./files/8a11255d14aef6c8 $(1)/etc/opkg/keys/8a11255d14aef6c8
56 endef
57
58 $(eval $(call BuildPackage,attendedsysupgrade-common))