mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
nbd: remove systemd build option (#1736)
This commit is contained in:
parent
d8664a4459
commit
2b5f1a4f8b
2 changed files with 1 additions and 15 deletions
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Network Block Device Server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
ExecStart=/usr/bin/nbd-server
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'nbd'
|
# Template file for 'nbd'
|
||||||
pkgname=nbd
|
pkgname=nbd
|
||||||
version=3.11
|
version=3.11
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-syslog --sbindir=/usr/bin"
|
configure_args="--enable-syslog --sbindir=/usr/bin"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
build_options="systemd"
|
|
||||||
system_accounts="nbd"
|
system_accounts="nbd"
|
||||||
nbd_homedir="/var/chroot"
|
nbd_homedir="/var/chroot"
|
||||||
conf_files="/etc/nbd-server/config"
|
conf_files="/etc/nbd-server/config"
|
||||||
|
@ -20,8 +19,5 @@ checksum=b681ff0ae05e16e679814d8c87661844c582c716f9440bcfbd673ebc1dba1cfc
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv nbd
|
vsv nbd
|
||||||
vinstall ${FILESDIR}/config 644 etc/nbd-server
|
vinstall ${FILESDIR}/config 644 etc/nbd-server
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
vdoc doc/README
|
vdoc doc/README
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue