diff --git a/srcpkgs/lxc/files/service b/srcpkgs/lxc/files/service deleted file mode 100644 index 4c0c34e3ea1..00000000000 --- a/srcpkgs/lxc/files/service +++ /dev/null @@ -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 diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index eabd8f14dea..5f3bdbe1e99 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -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.