lxc: added runit support

This commit is contained in:
Andrea Brancaleoni 2015-03-08 15:54:31 +01:00
parent 3d25f0a040
commit ce215b8d6a
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
lxc-autostart -s -t 15 || exit 1

View File

@ -0,0 +1,3 @@
#!/bin/sh
lxc-autostart || exit 1
exec chpst -b lxc-autostart pause

View File

@ -3,7 +3,7 @@ _desc="Linux Containers"
pkgname=lxc
version=1.1.0
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-doc --enable-seccomp --enable-cgmanager
--enable-capabilities --disable-apparmor --with-distro=none
@ -37,7 +37,7 @@ post_install() {
# Install void lxc config/template.
vinstall ${FILESDIR}/void.common.conf 644 usr/share/lxc/config
vinstall ${FILESDIR}/lxc-void 755 usr/share/lxc/templates
vsv lxc-autostart
}
liblxc_package() {