diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-03 17:58:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-03 17:58:56 +0100 |
commit | 646097b77632ca9e673127d08c226f304f5d624b (patch) | |
tree | 71053ff8d30fa9b0492f1bef7c6cf7559bbc39de | |
parent | 343940aefcc24d367341676eb57c5e520587ec31 (diff) |
sys-fs/zfs-utils : pick more fixes from gentoo's ebuild
-rw-r--r-- | sys-fs/zfs-utils/zfs-utils-0.8.3-r1.ebuild | 8 |
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() { |