summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild b/sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild
index ec2d2ef6..49726dce 100644
--- a/sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild
+++ b/sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild
@@ -80,6 +80,14 @@ src_prepare() {
distutils-r1_src_prepare
popd >/dev/null || die
fi
+
+ # prevent errors showing up on zfs-mount stop, #647688
+ # openrc will unmount all filesystems anyway.
+ sed -i "/^ZFS_UNMOUNT=/ s/yes/no/" etc/init.d/zfs.in || die
+
+ # needed to get files regenerated
+ # https://github.com/zfsonlinux/zfs/issues/9443
+ rm -v etc/init.d/zfs{,-functions} || die
}
src_configure() {