* 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>
* 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>
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>
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>