lxc: remove systemd build option (#1736)
This commit is contained in:
parent
2d64d2c3cc
commit
a639d9f5a9
2 changed files with 1 additions and 16 deletions
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=%i LXC
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/lxc-start -d -n %i
|
||||
ExecStop=/usr/bin/lxc-stop -n %i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -3,7 +3,7 @@ _desc="Linux Containers"
|
|||
|
||||
pkgname=lxc
|
||||
version=1.1.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin --enable-doc --enable-seccomp --enable-cgmanager
|
||||
|
@ -18,7 +18,6 @@ license="LGPL-2.1"
|
|||
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
||||
checksum=34ba517ffd7b38a14e5d12d56a4928b78602d56311d5f47c3ef90f4e714b9604
|
||||
|
||||
build_options="systemd"
|
||||
conf_files="/etc/lxc/default.conf"
|
||||
make_dirs="
|
||||
/var/lib/lxc 0755 root root
|
||||
|
@ -30,9 +29,6 @@ pre_configure() {
|
|||
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
||||
}
|
||||
post_install() {
|
||||
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