1 # SPDX-License-Identifier: GPL-2.0
3 include $(TOPDIR
)/rules.mk
5 PKG_NAME
:=attendedsysupgrade-common
6 PKG_VERSION
:=$(COMMITCOUNT
)
9 include $(INCLUDE_DIR
)/package.mk
11 define Package
/attendedsysupgrade-common
14 TITLE
:=Common files neede by attendedsysupgrade packages
15 MAINTAINER
:=Paul Spooren
<mail@aparcar.org
>
16 DEPENDS
:=+rpcd
+rpcd-mod-rpcsys
20 define Package
/attendedsysupgrade-common
/description
21 Common needed files for attendedsysupgrade tool
23 Manages dependencies and brings settings used by clients.
27 * attendedsysupgrade.server.url
28 URL of compatible upgrade server
[1]
30 * attendedsysupgrade.client.upgrade_packages
31 Client should request image also if no new release but new packages
32 upgrade are available.
34 * attendedsysupgrade.client.advanced_mode
35 Offer advanced options like editing packages before request and show
36 additional information.
38 * attendedsysupgrade.client.auto_search
39 Tells the client to automattically search for upgrades
41 [1]: https
://github.com
/aparcar
/asu
47 define Build
/Configure
50 define Package
/attendedsysupgrade-common
/install
51 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
/
52 $(INSTALL_DATA
) .
/files
/attendedsysupgrade.defaults
$(1)/etc
/uci-defaults
/attendedsysupgrade
54 $(INSTALL_DIR
) $(1)/etc
/opkg
/keys
/
55 $(INSTALL_DATA
) .
/files
/8a11255d14aef6c8
$(1)/etc
/opkg
/keys
/8a11255d14aef6c8
58 $(eval
$(call BuildPackage
,attendedsysupgrade-common
))