2021-04-29 23:09:22 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2017-07-19 00:47:40 +02:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
PKG_NAME:=attendedsysupgrade-common
|
2023-06-10 05:43:42 +02:00
|
|
|
PKG_VERSION:=8
|
2017-07-19 00:47:40 +02:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
define Package/attendedsysupgrade-common
|
2017-07-19 00:47:40 +02:00
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Base system
|
2017-11-05 18:45:44 +01:00
|
|
|
TITLE:=Common files neede by attendedsysupgrade packages
|
2021-04-29 23:09:22 +02:00
|
|
|
MAINTAINER:=Paul Spooren <mail@aparcar.org>
|
2017-11-13 01:46:10 +01:00
|
|
|
DEPENDS:=+rpcd +rpcd-mod-rpcsys
|
2019-01-28 07:38:44 +01:00
|
|
|
PKGARCH:=all
|
2017-07-19 00:47:40 +02:00
|
|
|
endef
|
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
define Package/attendedsysupgrade-common/description
|
|
|
|
Common needed files for attendedsysupgrade tool
|
2017-07-19 00:47:40 +02:00
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
Manages dependencies and brings settings used by clients.
|
2017-07-19 00:47:40 +02:00
|
|
|
|
|
|
|
UCI options:
|
|
|
|
|
2021-04-29 23:09:22 +02:00
|
|
|
* attendedsysupgrade.server.url
|
|
|
|
URL of compatible upgrade server [1]
|
2017-07-19 00:47:40 +02:00
|
|
|
|
2021-04-29 23:09:22 +02:00
|
|
|
* attendedsysupgrade.client.upgrade_packages
|
|
|
|
Client should request image also if no new release but new packages
|
|
|
|
upgrade are available.
|
2017-07-19 00:47:40 +02:00
|
|
|
|
2021-04-29 23:09:22 +02:00
|
|
|
* attendedsysupgrade.client.advanced_mode
|
|
|
|
Offer advanced options like editing packages before request and show
|
|
|
|
additional information.
|
2017-07-19 00:47:40 +02:00
|
|
|
|
2021-04-29 23:09:22 +02:00
|
|
|
* attendedsysupgrade.client.auto_search
|
|
|
|
Tells the client to automattically search for upgrades
|
2017-07-19 00:47:40 +02:00
|
|
|
|
2021-04-29 23:09:22 +02:00
|
|
|
[1]: https://github.com/aparcar/asu
|
2017-07-19 00:47:40 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
define Package/attendedsysupgrade-common/install
|
2017-07-19 00:47:40 +02:00
|
|
|
$(INSTALL_DIR) $(1)/etc/uci-defaults/
|
2022-10-28 13:17:13 +02:00
|
|
|
$(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
|
2019-03-06 21:43:01 +01:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/opkg/keys/
|
2022-10-28 13:17:13 +02:00
|
|
|
$(INSTALL_DATA) ./files/8a11255d14aef6c8 $(1)/etc/opkg/keys/8a11255d14aef6c8
|
2017-07-19 00:47:40 +02:00
|
|
|
endef
|
|
|
|
|
2017-11-05 18:45:44 +01:00
|
|
|
$(eval $(call BuildPackage,attendedsysupgrade-common))
|