@ -1,12 +1,9 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# SPDX-License-Identifier: GPL-2.0
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := attendedsysupgrade-common
PKG_NAME := attendedsysupgrade-common
PKG_VERSION := 0.2
PKG_RELEASE := 1
PKG_VERSION := $( COMMITCOUNT)
PKG_LICENSE := GPL-2.0
PKG_LICENSE := GPL-2.0
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -15,7 +12,7 @@ define Package/attendedsysupgrade-common
SECTION:= utils
SECTION:= utils
CATEGORY:= Base system
CATEGORY:= Base system
TITLE:= Common files neede by attendedsysupgrade packages
TITLE:= Common files neede by attendedsysupgrade packages
MAINTAINER:= Paul Spooren <paul@spooren.de >
MAINTAINER:= Paul Spooren <mail@aparcar.org >
DEPENDS:= +rpcd +rpcd-mod-rpcsys
DEPENDS:= +rpcd +rpcd-mod-rpcsys
PKGARCH:= all
PKGARCH:= all
e n d e f
e n d e f
@ -27,20 +24,21 @@ define Package/attendedsysupgrade-common/description
UCI options:
UCI options:
attendedsysupgrade.server.url
URL of compatible upgrade server [ 1]
* attendedsysupgrade.server.url
URL of compatible upgrade server [ 1]
attendedsysupgrade.client.upgrade_packages
Client should request image also if no new release but new packages upgrade are available.
* attendedsysupgrade.client.upgrade_packages
Client should request image also if no new release but new packages
upgrade are available.
attendedsysupgrade.client.advanced_mode
Offer advanced options like editing packages before request and show additional information.
* attendedsysupgrade.client.advanced_mode
Offer advanced options like editing packages before request and show
additional information.
attendedsysupgrade.client.auto_search
Tells the client to automattically search for upgrades
This can be done when opening luci or login in to console - depends on client.
* attendedsysupgrade.client.auto_search
Tells the client to automattically search for upgrades
[ 1] : https://github.com/aparcar/gsoc17- attended-sy supgrade
[ 1] : https://github.com/aparcar/asu
e n d e f
e n d e f
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
@ -54,7 +52,7 @@ define Package/attendedsysupgrade-common/install
$( INSTALL_BIN) ./files/attendedsysupgrade.defaults $( 1) /etc/uci-defaults/attendedsysupgrade
$( INSTALL_BIN) ./files/attendedsysupgrade.defaults $( 1) /etc/uci-defaults/attendedsysupgrade
$( INSTALL_DIR) $( 1) /etc/opkg/keys/
$( INSTALL_DIR) $( 1) /etc/opkg/keys/
$( INSTALL_BIN) ./files/c06d891233ba699 $( 1) /etc/opkg/keys/c06d891233ba699
$( INSTALL_BIN) ./files/86241a707a30cb7f $( 1) /etc/opkg/keys/86241a707a30cb7f
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,attendedsysupgrade -common ) )
$( eval $ ( call BuildPackage ,attendedsysupgrade -common ) )