diff --git a/sys-fs/zfs/zfs-0.6.5.11-r2.ebuild b/sys-fs/zfs/zfs-0.6.5.11-r2.ebuild index 1973747e44039..c658c579f070d 100644 --- a/sys-fs/zfs/zfs-0.6.5.11-r2.ebuild +++ b/sys-fs/zfs/zfs-0.6.5.11-r2.ebuild @@ -105,6 +105,8 @@ src_configure() { --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -191,6 +193,15 @@ pkg_postinst() { rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" fi + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() { diff --git a/sys-fs/zfs/zfs-0.6.5.4-r4.ebuild b/sys-fs/zfs/zfs-0.6.5.4-r4.ebuild index afdedfdc2c2eb..7391092760998 100644 --- a/sys-fs/zfs/zfs-0.6.5.4-r4.ebuild +++ b/sys-fs/zfs/zfs-0.6.5.4-r4.ebuild @@ -121,6 +121,8 @@ src_configure() { --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -223,6 +225,16 @@ pkg_postinst() { ewarn "It is very important that you update your initramfs after this " ewarn "update." fi + + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() { diff --git a/sys-fs/zfs/zfs-0.7.5-r2.ebuild b/sys-fs/zfs/zfs-0.7.5-r2.ebuild index 118fe97e22a61..b625fe321e0f5 100644 --- a/sys-fs/zfs/zfs-0.7.5-r2.ebuild +++ b/sys-fs/zfs/zfs-0.7.5-r2.ebuild @@ -105,7 +105,8 @@ src_configure() { --with-linux="${KV_DIR}" --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" - --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -192,6 +193,15 @@ pkg_postinst() { rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" fi + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() { diff --git a/sys-fs/zfs/zfs-0.7.6-r1.ebuild b/sys-fs/zfs/zfs-0.7.6-r1.ebuild index 118fe97e22a61..b625fe321e0f5 100644 --- a/sys-fs/zfs/zfs-0.7.6-r1.ebuild +++ b/sys-fs/zfs/zfs-0.7.6-r1.ebuild @@ -105,7 +105,8 @@ src_configure() { --with-linux="${KV_DIR}" --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" - --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -192,6 +193,15 @@ pkg_postinst() { rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" fi + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() { diff --git a/sys-fs/zfs/zfs-0.7.9999.ebuild b/sys-fs/zfs/zfs-0.7.9999.ebuild index 9a83e14a4afa8..9c81d0b6e89b5 100644 --- a/sys-fs/zfs/zfs-0.7.9999.ebuild +++ b/sys-fs/zfs/zfs-0.7.9999.ebuild @@ -101,7 +101,8 @@ src_configure() { --with-linux="${KV_DIR}" --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" - --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -188,6 +189,15 @@ pkg_postinst() { rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" fi + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() { diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index 4599d9acad309..4ea8bfe85be0a 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -106,7 +106,8 @@ src_configure() { --with-linux="${KV_DIR}" --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" - --with-blkid + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) ) autotools-utils_src_configure @@ -197,6 +198,15 @@ pkg_postinst() { rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" fi + systemd_reenable zfs-zed.service + systemd_reenable zfs-import-cache.service + systemd_reenable zfs-import-scan.service + systemd_reenable zfs-mount.service + systemd_reenable zfs-share.service + systemd_reenable zfs-import.target + systemd_reenable zfs.target + systemd_reenable zfs.service + } pkg_postrm() {