aboutsummaryrefslogtreecommitdiff
path: root/utils/rpcd-mod-lxc
Commit message (Collapse)AuthorAge
* treewide: back to cmake.mkRosen Penev2021-06-12
| | | | | | Ninja was merged to base and therefore we can now use normal cmake.mk Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: build CMake projects with NinjaRosen Penev2021-03-27
| | | | | | | | | | | | | | | | | | | | faster to compile. A small selection of packages was tested going from: Executed in 696.30 secs fish external usr time 82.98 mins 395.00 micros 82.98 mins sys time 9.02 mins 0.00 micros 9.02 mins to: Executed in 592.20 secs fish external usr time 84.84 mins 361.00 micros 84.84 mins sys time 8.85 mins 57.00 micros 8.85 mins Tested by running make -j 12 and wiping staging/build_dir/target_x Signed-off-by: Rosen Penev <rosenp@gmail.com>
* rpcd-mod-lxc: add postinst to reload rpcd on update/installationKarel Kočí2020-12-09
| | | | | | | | | | This is dependency of luci-app-lxc and when users install that package it is no way clear that they have to reload rpcd to get it working correctly. Without it container listing does not work. In general this reload should be in this package simply because other rpcd-mod-* packages reload rpcd as well. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* rpcd-mod-lxc: bump PKG_RELEASE to indicate recent changesRafał Miłecki2017-12-06
| | | | | | It should be bumped due to the "info" ubus method support. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rpcd-mod-lxc: info: return NOT_FOUND if container doesn't existRafał Miłecki2017-12-06
| | | | | | | | | | | | | | | | | | | | | | | It allow distinction between not existing and stopped container. So far querying for not existing container was resulting in: > ubus call lxc info '{ "name": "foo" }' { "name": "foo", "state": "STOPPED", "ips": [ ] } Now it's an error and it matches lxc-info command line: > ubus call lxc info '{ "name": "foo" }' Command failed: Not found > lxc-info --name foo foo doesn't exist Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)Rafał Miłecki2017-11-07
| | | | | | | | | | | | | | | | | | | 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>
* rpcd-mod-lxc: add spdx license infoLuka Perkov2014-11-11
| | | | Signed-off-by: Luka Perkov <luka@openwrt.org>
* rpcd-mod-lxc: add lxc-create ubus bindingsLuka Perkov2014-11-03
| | | | | | | | Example call: $ ubus call lxc create '{ "name": "bar", "template": "download", "args": [ "--no-validate", "--dist", "debian", "--release", "sid", "--arch", "i386" ] }' Signed-off-by: Luka Perkov <luka@openwrt.org>
* rpcd-mod-lxc: add package for rpcd lxc moduleLuka Perkov2014-10-21
Signed-off-by: Luka Perkov <luka@openwrt.org>