mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
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
|
pkgname=lxc
|
||||||
version=1.1.2
|
version=1.1.2
|
||||||
revision=1
|
revision=2
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --enable-doc --enable-seccomp --enable-cgmanager
|
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"
|
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
||||||
checksum=34ba517ffd7b38a14e5d12d56a4928b78602d56311d5f47c3ef90f4e714b9604
|
checksum=34ba517ffd7b38a14e5d12d56a4928b78602d56311d5f47c3ef90f4e714b9604
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
conf_files="/etc/lxc/default.conf"
|
conf_files="/etc/lxc/default.conf"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/lxc 0755 root root
|
/var/lib/lxc 0755 root root
|
||||||
|
@ -30,9 +29,6 @@ pre_configure() {
|
||||||
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
|
||||||
fi
|
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions/
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions/
|
||||||
# Install void lxc config/template.
|
# Install void lxc config/template.
|
||||||
|
|
Loading…
Add table
Reference in a new issue