mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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[@]}"
|
||||
|
||||
Reference in New Issue
Block a user