sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Patrick McLean
2017-02-09 13:41:29 -08:00
parent 54f3dbbee6
commit e97ff71c0b

View File

@@ -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[@]}"