Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/
Date: Thu, 09 Feb 2017 21:41:47
Message-Id: 1486676489.e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc.chutzpah@gentoo
1 commit: e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 9 21:41:29 2017 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 9 21:41:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97ff71c
7
8 sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sys-kernel/dracut/dracut-044-r2.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/sys-kernel/dracut/dracut-044-r2.ebuild b/sys-kernel/dracut/dracut-044-r2.ebuild
16 index 394da6ea72..b4ac5de9ac 100644
17 --- a/sys-kernel/dracut/dracut-044-r2.ebuild
18 +++ b/sys-kernel/dracut/dracut-044-r2.ebuild
19 @@ -98,7 +98,7 @@ src_prepare() {
20
21 if use systemd; then
22 local systemdutildir="$(systemd_get_utildir)"
23 - local systemdsystemunitdir="$(systemd_get_unitdir)"
24 + local systemdsystemunitdir="$(systemd_get_systemunitdir)"
25 local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \
26 --variable=systemdsystemconfdir)"
27 [[ ${systemdsystemconfdir} ]] \
28 @@ -130,7 +130,7 @@ src_configure() {
29 )
30
31 if use systemd; then
32 - myconf+=( --systemdsystemunitdir="$(systemd_get_unitdir)" )
33 + myconf+=( --systemdsystemunitdir="$(systemd_get_systemunitdir)" )
34 fi
35
36 econf "${myconf[@]}"