Commit Graph

9 Commits

Author SHA1 Message Date
Kuan-Yi Li ba75322534 treewide: remove COMMITCOUNT
Automatically compute and substitute current values for all
$(COMMITCOUNT) instances as this feature is deprecated and shouldn't be
used.

Based on commit 0c10c224be81:

Change COMMITCOUNT in rules.mk to:
```
COMMITCOUNT = $(if $(DUMP),0,$(shell sed -i "s/\$$(COMMITCOUNT)/$(call commitcount)/" $(CURDIR)/Makefile))
```

then update all affected packages by:
```
for i in $(git -C feeds/packages grep -l COMMITCOUNT | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
	make package/$i/clean
done
```

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2023-06-13 15:55:02 +02:00
Paul Spooren 646fbeafdc attendedsysupgrade-common: update ASU CA pubkey
The old key was overwritten during a machine migration and the current
worker key is no longer valid. To create new valid worker certificates
this commit adds a new CA pubkey.

To update running OpenWrt devices via a client one needs to force
install it or upgrade to the latest version of
`attendedsysupgrade-common` - I'm sorry for the inconvenience.

This change is only related to the `usign` pubkey and `ucert`
certificate which is used to sign all created images on the server.

While at it, use INSTALL_DATA instead of INSTALL_BIN.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-10-29 10:00:27 +02:00
Paul Spooren 81b00bd6ab attendedsysupgrade-common: use sysupgrade.openwrt.org
A new server was added which runs within the OpenWrt cloud, it's much
faster and should be used instead. For development the server at
https://asu.aparcar.org stays available.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-09-24 12:00:26 -10:00
Paul Spooren cdc0c70875 attendedsysupgrade-common: update server URL
The service is now on a new server which supports IPv6.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-08-06 00:07:37 +02:00
Paul Spooren a54b9570ad attendedsysupgrade-common: update to 2021
* Use $(COMMITCOUNT)
* Use SPDX
* Use CA (ucert) public key
* Update repo link
* Update maintainer email
* Format description

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-04-29 20:06:40 -10:00
Deng Qingfang 17496030e2 treewide: add missing PKGARCH:=all to non-binary packages
Packages such as Perl, Lua, shell scripts don't generate binary files.
Add PKGARCH:=all to them.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-03-30 17:11:50 +08:00
Paul Spooren 54a2c8d087 attendedsyuspgrade-common: add key and set server
In collaboration with @dangowrt the server makes use of `ucert`.  Active
workers sign created firmware and clients check if the signature is
valid. Certs of *hacked* or inactive workers can be revoked.  Private CA
key is **not** stored on the upgrade server.

Only for devices already supporting ucert via firmware metadata.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-03-06 23:24:08 +01:00
Daniel Golle a4d6143514 attendedsysupgrade-common: deprecate rpcd-mod-packagelist
rpcd-mod-packageslist is now integrated in rpcd-mod-rpcsys since
commit 49fde37@lede-project/source.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-13 01:49:04 +01:00
Paul Spooren 861e5eda86 attendedsysupgrade-common: add package
due to various clients and the existence of rpcd-mod-rpcsys the package
rpcd-mod-attendedsysupgrade is superflous.

From now on the attendedsysupgrade-common package should be dependencie
of all kinds of clients.

Currently active or planned:
- luci-app-attendedsysupgrade
- attendedsysupgrade cli in shell
- attendedsysupgrade cli in c

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-11-12 01:10:09 +01:00