Commit graph

8 commits

Author SHA1 Message Date
Daniel Golle
b514587011 auc: update to version 0.0.8
* fix multiple read_data_cb calls from uclient, otherwise hickups
   happend when receiving a large JSON reply
 * add minimal help message (-h)
 * pretify package update output
 * fix infinite retry of upgrade-check which happened in some cases
 * add sleep in case of check-request retry
 * lots of cosmetics

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-30 02:33:13 +01:00
Daniel Golle
19653e57bf auc: update to version 0.0.7
* implement using GET instead of POST requests when waiting for image

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-26 18:25:07 +01:00
Daniel Golle
78c699daa6 auc: update to version 0.0.6
* handle newly introduced 'initialize' server status
 * cosmetics

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-24 17:24:16 +01:00
Daniel Golle
7620a0d60c auc: update to version 0.0.5
* use HTTP headers to know ImageBuilder status and queue position
 * use pretty (ie. indented) JSON output for debugging

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-23 18:56:58 +01:00
Daniel Golle
dbcfa1618e auc: update to version 0.0.4
* implement '-d' cmdline option to output json requests
 * switch to new server API
 * implement upgrade_packages

Read upgrade_packages UCI option and ask for either only release
upgrades or also builds based on updated packages depending on whether
upgrade_packages is '0' or '1'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-23 18:01:13 +01:00
Daniel Golle
68ae65f3bc auc: be a bit more verbose
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-13 01:49:04 +01:00
Daniel Golle
123ddf66ae auc: small improvements
Detect if calling rpc-sys packagelist fails due to the method not
being provided by rpcd.
Mark package as experimental.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-13 00:39:46 +01:00
Daniel Golle
95d96a360f auc: add new package
The Attended sysUpgrade CLI is a full-featured client for the
attended-sysupgrade service which works directly on the target device.
It requires libustream-ssl as well as at least the CA certificate
needed to contact the sysupgrade server.

It has only been tested briefly and is by no means ready for
production!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-12 23:33:15 +01:00