summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-02-14 14:38:27 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-02-14 14:39:11 -0600
commitc756381a157ee8c3de2924685791d962eeb3d341 (patch)
tree7a6fb1cbdf69793e8d810264d537df5fb474f12b /sys-fs/zfs/zfs-9999.ebuild
parentwww-client/chromium: stable channel bump (64.0.3282.167) (diff)
downloadgentoo-c756381a157ee8c3de2924685791d962eeb3d341.tar.gz
gentoo-c756381a157ee8c3de2924685791d962eeb3d341.tar.bz2
gentoo-c756381a157ee8c3de2924685791d962eeb3d341.zip
sys-fs/zfs: make modprobe optional for systemd unit files
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-fs/zfs/zfs-9999.ebuild')
-rw-r--r--sys-fs/zfs/zfs-9999.ebuild10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index 7b8d2f94a45c..5cfa93fa4c50 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -87,12 +87,6 @@ src_prepare() {
-e "s|/sbin/parted|/usr/sbin/parted|" \
-i scripts/common.sh.in
- if use kernel-builtin
- then
- einfo "kernel-builtin enabled, removing module loading from"
- einfo "systemd units."
- sed -i -e '/modprobe\ zfs/d' etc/systemd/system/*.service.in || die
- fi
autotools-utils_src_prepare
}
@@ -120,10 +114,6 @@ src_configure() {
sed -e "s:@sbindir@:${EPREFIX}/sbin:g" \
-e "s:@sysconfdir@:${EPREFIX}/etc:g" \
> "${T}/zfs-init.sh" || die
- if use kernel-builtin
- then
- sed -i -e '/modprobe\ zfs/d' "${T}/zfs.service" || die
- fi
}
src_install() {