commit
9e9e33e52a
3 changed files with 7 additions and 2 deletions
2
srcpkgs/lxc/files/lxc-autostart/finish
Executable file
2
srcpkgs/lxc/files/lxc-autostart/finish
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
lxc-autostart -s -t 15 || exit 1
|
3
srcpkgs/lxc/files/lxc-autostart/run
Executable file
3
srcpkgs/lxc/files/lxc-autostart/run
Executable file
|
@ -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
|
pkgname=lxc
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-doc --enable-seccomp --enable-cgmanager
|
configure_args="--enable-doc --enable-seccomp --enable-cgmanager
|
||||||
--enable-capabilities --disable-apparmor --with-distro=none
|
--enable-capabilities --disable-apparmor --with-distro=none
|
||||||
|
@ -37,7 +37,7 @@ post_install() {
|
||||||
# Install void lxc config/template.
|
# Install void lxc config/template.
|
||||||
vinstall ${FILESDIR}/void.common.conf 644 usr/share/lxc/config
|
vinstall ${FILESDIR}/void.common.conf 644 usr/share/lxc/config
|
||||||
vinstall ${FILESDIR}/lxc-void 755 usr/share/lxc/templates
|
vinstall ${FILESDIR}/lxc-void 755 usr/share/lxc/templates
|
||||||
|
vsv lxc-autostart
|
||||||
}
|
}
|
||||||
|
|
||||||
liblxc_package() {
|
liblxc_package() {
|
||||||
|
|
Loading…
Reference in a new issue