lxc: added runit support
This commit is contained in:
parent
3d25f0a040
commit
ce215b8d6a
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
lxc-autostart -s -t 15 || exit 1
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
lxc-autostart || exit 1
|
||||
exec chpst -b lxc-autostart pause
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue