mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-block/nbd: install systemd service unit
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Userland client/server for kernel network block device"
|
||||
HOMEPAGE="http://nbd.sourceforge.net/"
|
||||
if [[ "${PV}" = 9999 ]] ; then
|
||||
@@ -58,3 +60,8 @@ src_configure() {
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit systemd/nbd@.service
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Userland client/server for kernel network block device"
|
||||
HOMEPAGE="http://nbd.sourceforge.net/"
|
||||
if [[ "${PV}" = 9999 ]] ; then
|
||||
@@ -58,3 +60,8 @@ src_configure() {
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit systemd/nbd@.service
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user