diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-05-23 10:27:53 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-05-23 10:28:13 +0200 |
commit | a5a3dfe9ab42181414c267e7ca25d613fb1ced75 (patch) | |
tree | 2f60778a700606bb6f1b1ee5fbc34ae6f70f91c0 /sys-block | |
parent | app-admin/supervisor: remove old (diff) | |
download | gentoo-a5a3dfe9ab42181414c267e7ca25d613fb1ced75.tar.gz gentoo-a5a3dfe9ab42181414c267e7ca25d613fb1ced75.tar.bz2 gentoo-a5a3dfe9ab42181414c267e7ca25d613fb1ced75.zip |
sys-block/open-iscsi: Fixed path in systemd unit files
Install all upstream provided systemd unit/socket files.
Closes: https://bugs.gentoo.org/672376
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/open-iscsi/open-iscsi-2.0.877.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.877.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.877.ebuild index a07c19fa6c3d..3c166cfb0a40 100644 --- a/sys-block/open-iscsi/open-iscsi-2.0.877.ebuild +++ b/sys-block/open-iscsi/open-iscsi-2.0.877.ebuild @@ -72,7 +72,10 @@ pkg_setup() { } src_prepare() { - sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die + sed -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' \ + -i etc/iscsid.conf || die + sed -e 's@\(/sbin/\)@/usr\1@' \ + -i etc/systemd/iscsi* || die default pushd iscsiuio >/dev/null || die @@ -112,7 +115,9 @@ src_install() { newconfd "${FILESDIR}"/iscsid-conf.d iscsid newinitd "${FILESDIR}"/iscsid-init.d iscsid - systemd_dounit "${S}"/etc/systemd/iscsid.service + systemd_dounit etc/systemd/iscsi.service + systemd_dounit etc/systemd/iscsid.service + systemd_dounit etc/systemd/iscsid.socket keepdir /var/db/iscsi fperms 700 /var/db/iscsi |