nbd: remove systemd build option (#1736)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user