aboutsummaryrefslogtreecommitdiff
path: root/utils/auc
Commit message (Collapse)AuthorAge
* auc: send revision in update checkDaniel Golle2019-03-08
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: adapt to server and ubus APIDaniel Golle2019-03-07
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: remove left-over subtarget stringDaniel Golle2019-03-07
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: more API updatesDaniel Golle2019-03-06
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: sync with server APIDaniel Golle2019-03-06
| | | | | | | Drop pre-ucert signature verification. HTTPS is optional now as integrity can also be provided using ucert. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: always send version when requesting imageDaniel Golle2018-03-23
| | | | | | Fixes #5799 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: update to version 0.0.9Daniel Golle2018-02-23
| | | | | | | | | | | | | | | | | * use full package list when checking for upgrades * verify sha256sums and usign signature of sha256sums.sig * introduce '-c' option to only check if system is up-to-date * introduce '-F' option to ignore the signature verification result * return -1 on locally caused and -2 on server-side errors * don't include locally appended attributes in debug output of a server reply * output bug report note on 412 target not found * use content-length header instead of filesize field in JSON content * suppress duplicate error messages * drop unused attributes * make debug messages optional at compile-time Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: update to version 0.0.8Daniel Golle2017-11-30
| | | | | | | | | | | | * 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>
* auc: update to version 0.0.7Daniel Golle2017-11-26
| | | | | | * implement using GET instead of POST requests when waiting for image Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: update to version 0.0.6Daniel Golle2017-11-24
| | | | | | | * handle newly introduced 'initialize' server status * cosmetics Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: update to version 0.0.5Daniel Golle2017-11-23
| | | | | | | * 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>
* auc: update to version 0.0.4Daniel Golle2017-11-23
| | | | | | | | | | | | * 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>
* auc: be a bit more verboseDaniel Golle2017-11-13
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* auc: small improvementsDaniel Golle2017-11-13
| | | | | | | | 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>
* auc: add new packageDaniel Golle2017-11-12
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>