* 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>
Update haveged to 1.9.2
Release notes:
http://www.issihosts.com/haveged/downloads.html
Version 1.9.2
I am no longer active as a developer but have decided to push out
contributor fixes I have accumulated since the last release. Two
oustanding bugs are not addressed: 1) Failure to build on IA64 due
to busted cpuid and 2) Incorrect exit status when terminate by signal.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* 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>
During 4.2.1 version update support for subordinate IDs has been
disabled. It was handled by:
1) Adding --disable-subordinate-ids to avoid:
configure: error: cannot run test program while cross compiling
2) Adding patch 003-fix-disabling-subids.patch to avoid:
usermod.c: In function 'process_flags':
usermod.c:1364:10: error: 'vflg' undeclared (first use in this function)
if ( (vflg || Vflg)
^
This commit adds a patch with a proper configure.in fix. We don't need
to disable subordinate IDs anymore.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
rpcd-mod-packageslist is now integrated in rpcd-mod-rpcsys since
commit 49fde37@lede-project/source.
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>
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>
Don't need to have a bare /etc/modules.d/ file since we can cleanly
synthesize one now.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This method allows getting basic info about a queried container. It's
based on the lxc-info command-line tool.
Example output:
> ubus call lxc info '{ "name": "foo" }'
{
"name": "foo",
"state": "RUNNING",
"pid": 2946,
"ips": [
"192.168.0.124"
]
}
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Approved-by: Luka Perkov <luka@openwrt.org>
tio is a simple TTY terminal I/O application
It's smaller than picocom, uses GNU autotools and has some nice features
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
call it upgrade instead of update
added client options:
auto_search - start upgrade search on login
advanced_mode - offer more options like package_editing
message before sysupgrade
more verbose Makefile
moved acls to client
Signed-off-by: Paul Spooren <paul@spooren.de>
squashfs-tools does not provide tar-balls.
It looks like a good time to pull a newer version
that obsoletes a few accepted patches.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Previous versions of LXC never compiled in gnutls support due to a bug in the
configure script. As other TLS implementations are not supported and the feature
was disabled in previous builds, disable it during configure.
See https://github.com/lxc/lxc/pull/1360 for details regarding the bug in the
autoconf of the previous versions.
Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
This is the first bugfix release for LXC 2.1. Full list of changes can
be found here:
https://linuxcontainers.org/lxc/news/
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
Bump LXC package from 1.1.5 to 2.1.0. Version 2.x includes many
improvements and optimizations.
https://linuxcontainers.org/lxc/news/
Some tools like lxc-top are rewritten in C and are no longer broken and
dependent on lua.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This daemon allows users to control PWM driven RGB LEDs using ubus.
Currently it is possible to make leds blink at different brightnesses
and or make them fade in between colours.
the following call will turn green on and red off:
ubus call led set '{ "leds": { "ap:green:status": 255, "ap:red:status": 0 } }'
the following call will make green and red fade on/off over 2 seconds:
ubus call led set '{ "leds": { "ap:green:status": [0, 255], "ap:red:status": [255, 0] }, "on": 2000, "off": 2000, "fade": 1 }'
Signed-off-by: John Crispin <john@phrozen.org>
netwhere is a simple packet monitor that serves summarized captured data as a JSON document over a REST endpoint. Once installed
the netwhere example site is available at /netwhere?collector=IP:8080.
Signed-off-by: Ben Smith <le.ben.smith@gmail.com>