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>
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>
YARA is a tool aimed at (but not limited to) helping malware researchers
to identify and classify malware samples. With YARA you can create
descriptions of malware families based on textual or binary patterns.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
When cross-compiling Domoticz on a system without GPIO, the WITH_GPIO
flag is not set by cmake, and GPIO support is disabled as a result.
Enabling GPIO support by adding the flag to TARGET_CXXFLAGS.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Domoticz 3.8153 introduced support for dzVents. Unfortunately this was
broken by the 902_add-scripts-path, which attempts to make Domoticz more
FHS-compliant instead of throwing everything under /opt/domoticz.
The problem is that dzVents scripts added via the webinterface will be
generated on the filesystem. With the 902_add-scripts-path patch,
Domoticz tried to write this to "scriptsdir/dzVents/generated_scripts".
As the scriptsdir contains scripts that come with upstream, and are not
meant to be changed, this defaults to /usr/share/domoticz/scripts, which
is not writeable, so Domoticz is unable to write the script to the
filesystem. What is worse is that this silently fails.
Fix this by moving the generated_scripts dir to
"userdatadir/generated_scripts". The userdatadir defaults to
/var/lib/domoticz, which is writeable.
Additionally, since this patch does more than just adding the scripts
path, rename it to something more appropriate.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Instead of using update-pciids from a postinst script, just download
the pci.ids file from its repo the same way that usbutils grabs usb.ids.
Remove the compression since we're going onto a squashfs filesystem
(most likely) anyway.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Update nano editor to 2.8.7
Apply post-release fix from upstream to enable compilation
with --enable-tiny
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Uptime plugin fails to adjust for system time changes after boot.
As Openwrt/LEDE routers usually do not have a RTC, the system time
gets adjusted with NTP possibly after collectd has already started.
But collectd continues to use the initial time set by 'sysfixtime',
which can lead to incorrect uptime calculations.
Apply a proposed fix from upstream that uses /proc/uptime
Reference to https://github.com/collectd/collectd/pull/2034Fixes#4819
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Unsquashfs was segfaulting. When examining in gdb the stack was corrupt.
I found that converting the variable length arrays to malloc caused the
stack corruption to not happen and the segfault went away. This is due to
the musl pthread stack size being 80k by default. So the chance of a stack
overflow is high.
Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
add uci option to set "update_packages". this options will lead the
luci-app-attendedsysupgrade to tell the update server to check for
package updates as well (not only release upgrades)
Signed-off-by: Paul Spooren <paul@spooren.de>
as mentioned [here][1] some firmwares require to reset all settings.
this commit add a param "keep_settings" which changes the sysupgrade
parameter "-c" to "-n" to flush all configs
[1]: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/34
Signed-off-by: Paul Spooren <paul@spooren.de>
linux-utils (fdisk) provides the functionality I need and I have no interest
in maintaining this package as it more or less overlaps the functionality
of the previously mentioned alternative.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>