summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-15 19:19:00 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-15 19:26:45 -0800
commitd92dbeb600ab9c6f5fd10685c9733cfba3f74dc5 (patch)
tree85007428a4041db4985f01be358559cf624f4fa5 /sys-fs/zfs/zfs-0.8.6-r2.ebuild
parentsys-fs/zfs: add libtirpc subslot dependency (diff)
downloadgentoo-d92dbeb600ab9c6f5fd10685c9733cfba3f74dc5.tar.gz
gentoo-d92dbeb600ab9c6f5fd10685c9733cfba3f74dc5.tar.bz2
gentoo-d92dbeb600ab9c6f5fd10685c9733cfba3f74dc5.zip
sys-fs/zfs: use $(systemd_get_systempresetdir)
b8f91fee6a8314dc58c1da011b65d9b857ef963f introduced this eclass function, let's use it. Bug: https://bugs.gentoo.org/813639 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs/zfs-0.8.6-r2.ebuild')
-rw-r--r--sys-fs/zfs/zfs-0.8.6-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/zfs/zfs-0.8.6-r2.ebuild b/sys-fs/zfs/zfs-0.8.6-r2.ebuild
index e75749620f17..df9295794bab 100644
--- a/sys-fs/zfs/zfs-0.8.6-r2.ebuild
+++ b/sys-fs/zfs/zfs-0.8.6-r2.ebuild
@@ -154,7 +154,7 @@ src_configure() {
--with-linux-obj="${KV_OUT_DIR}"
--with-udevdir="$(get_udevdir)"
--with-systemdunitdir="$(systemd_get_systemunitdir)"
- --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
+ --with-systemdpresetdir="$(systemd_get_systempresetdir)"
$(use_enable debug)
$(use_enable nls)
$(use_enable python pyzfs)
@@ -225,7 +225,7 @@ pkg_postinst() {
fi
if systemd_is_booted || has_version sys-apps/systemd; then
- einfo "Please refer to ${EROOT}/lib/systemd/system-preset/50-zfs.preset"
+ einfo "Please refer to ${EROOT}/$(systemd_get_systempresetdir)/50-zfs.preset"
einfo "for default zfs systemd service configuration"
else
[[ -e "${EROOT}/etc/runlevels/boot/zfs-import" ]] || \