lxc: added systemd build option.
This commit is contained in:
parent
c9b1ee4819
commit
bedb1cf382
1 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@ _desc="Linux Containers"
|
|||
|
||||
pkgname=lxc
|
||||
version=1.0.5
|
||||
revision=8
|
||||
revision=9
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
||||
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
|
||||
|
@ -16,6 +16,7 @@ license="LGPL-2.1"
|
|||
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
||||
checksum=02ac82e69a76d424e5443b9c577e84a8eaafcebf17cfd865eedee147e8ef8844
|
||||
|
||||
build_options="systemd"
|
||||
conf_files="/etc/lxc/default.conf"
|
||||
make_dirs="
|
||||
/var/lib/lxc 0755 root root
|
||||
|
@ -27,7 +28,9 @@ pre_configure() {
|
|||
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
||||
}
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
||||
fi
|
||||
vmkdir usr/share/bash-completion/completions
|
||||
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions/
|
||||
# Install void lxc config/template.
|
||||
|
|
Loading…
Reference in a new issue