summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-02-09 13:41:29 -0800
committerPatrick McLean <chutzpah@gentoo.org>2017-02-09 13:41:29 -0800
commite97ff71c0bb20723a8a09c2c11c373fb6cbd4abc (patch)
tree840d736e5f048ed63b4a057ad3264773aa0913df /sys-kernel/dracut
parentapp-text/mupdf: Revbump to fix null pointer dereference (bug 608702) and heap... (diff)
downloadgentoo-e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc.tar.gz
gentoo-e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc.tar.bz2
gentoo-e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc.zip
sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r--sys-kernel/dracut/dracut-044-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
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[@]}"