From: Patrick McLean Date: Thu, 9 Feb 2017 21:41:29 +0000 (-0800) Subject: sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc;p=gentoo.git sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/sys-kernel/dracut/dracut-044-r2.ebuild b/sys-kernel/dracut/dracut-044-r2.ebuild index 394da6ea72a3..b4ac5de9ac4d 100644 --- a/sys-kernel/dracut/dracut-044-r2.ebuild +++ b/sys-kernel/dracut/dracut-044-r2.ebuild @@ -98,7 +98,7 @@ src_prepare() { if use systemd; then local systemdutildir="$(systemd_get_utildir)" - local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemunitdir="$(systemd_get_systemunitdir)" local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ --variable=systemdsystemconfdir)" [[ ${systemdsystemconfdir} ]] \ @@ -130,7 +130,7 @@ src_configure() { ) if use systemd; then - myconf+=( --systemdsystemunitdir="$(systemd_get_unitdir)" ) + myconf+=( --systemdsystemunitdir="$(systemd_get_systemunitdir)" ) fi econf "${myconf[@]}"