Michal Hrusecky
0708c4171e
lxc: Use more FSH compliant /srv/lxc instead of new root dir
Normally LXC uses /var/lib, but due to hack OpenWRT employs this is not an
option. But instead of introducing new top-level directory, FSH compatible /srv
can be used.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
9 years ago
Daniel Dickinson
b7b0f59e1c
utils/lxc: Add working autostart for OpenWrt
Standard LXC autostart is currently not working in OpenWrt,
therefore add our own autostart mechanism for now.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
9 years ago
Daniel Dickinson
403079aff8
utils/lxc: lxc-create templates depend on flock
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
9 years ago
Mak Krnic
fdacf2cd20
lxc: update to version 1.1.5
9 years ago
Marko Ratkaj
00e774f374
lxc: bump version to 1.1.3
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
9 years ago
Daniel Golle
c8a6990932
lxc: fix build on mpc85xx
Initialize ret to 0 so compiler no longer complains about
monitor.c: In function 'lxc_monitor_open':
monitor.c:212:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 years ago
Daniel Golle
180d34f70b
lxc: allow building with seccomp
seccomp was unconditionally disabled before.
Also a non-escaped newline in a place where it should be escaped
made the build process skip some CONFIGURE_ARGS.
Fix CONFIGURE_ARGS and add an option to allow building with seccomp.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 years ago
Alex Samorukov
19d236187e
Add lxc-device applet to the utils/lxc.
lxc-device manages devices in running container.
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
10 years ago
Alex Samorukov
552f24a63f
Add lxc-device applet
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
10 years ago
Alex Samorukov
274b985123
LXC: Update to 1.1.2 and remove patch merged by upstream
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
10 years ago
Mario Halambek
268dd7c603
lxc: bump to 1.1.1
Signed-off-by: Mario Halambek <mario.halambek@sartura.hr>
10 years ago
Marko Ratkaj
64a3a4840e
lxc: update to 1.1.0
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Jo-Philipp Wich
8baab92562
lxc: use generic autoreconf fixup
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.
Remove the unneeded Build/Configure override.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
10 years ago
Luka Perkov
dfd4daf633
lxc: correctly install configuration files
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
e044d612a0
lxc: minor dependencies tweak
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
b76bb76071
lxc: update dependencies
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
77949c83bb
lxc: add spdx license info
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
f0cf42ca7e
lxc: move patch
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
2e0a7026d9
lxc: organize patches
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
2c52da0cf2
lxc: fix lxc-destroy
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Petar Koretic
363f254052
lxc: use xz tool from busybox
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Luka Perkov
513349c886
lxc: create /lxc directory by default
The containers are stored in /lxc rather then in /var/lib/lxc. The latter is
not suitable for OpenWrt.
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Petar Koretic
733ce2c29f
lxc: patches: add openwrt common config
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Petar Koretic
ad224e5355
lxc: fix hooks installation on 1.0.6
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Petar Koretic
bfb1c85ae0
lxc: add busybox options menu
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Petar Koretic
9168c95173
lxc: patches: remove unsupported option
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Petar Koretic
6bb15ba13c
lxc: add config templates package
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Petar Koretic
dafecb2fef
lxc: enable template installation
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
10 years ago
Luka Perkov
97a8547586
lxc: lxc-ls depends on lxc-config
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
151c7cc386
lxc: bump to 1.0.6
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
64a9489651
lxc: set default lxcpath to /lxc
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
952912aea1
lxc: add missing lxc-init package
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
1614bed10b
lxc: add configuration section
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago
Luka Perkov
36fe1d34e6
lxc: move package from old packages feed
Signed-off-by: Luka Perkov <luka@openwrt.org>
10 years ago