From 646097b77632ca9e673127d08c226f304f5d624b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 May 2020 17:58:56 +0100 Subject: sys-fs/zfs-utils : pick more fixes from gentoo's ebuild --- sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys-fs/zfs-utils') 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() { -- cgit v1.2.3