diff options
author | Richard Yao <richard.yao@clusterhq.com> | 2015-10-01 18:52:18 -0400 |
---|---|---|
committer | Richard Yao <ryao@gentoo.org> | 2015-10-01 18:59:51 -0400 |
commit | 4d7de0583e56f17e06b96ec9c5bb4172fbc38e82 (patch) | |
tree | 109e1cd92aa68e79d5fbd7aa449617e6cbf32ab1 /sys-fs | |
parent | version bump (diff) | |
download | gentoo-4d7de0583e56f17e06b96ec9c5bb4172fbc38e82.tar.gz gentoo-4d7de0583e56f17e06b96ec9c5bb4172fbc38e82.tar.bz2 gentoo-4d7de0583e56f17e06b96ec9c5bb4172fbc38e82.zip |
sys-fs/zfs-0.6.5-r1: Fix OpenRC scripts
https://github.com/zfsonlinux/zfs/pull/3800
Package-Manager: portage-2.2.20.1
Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zfs/zfs-0.6.5.2-r1.ebuild (renamed from sys-fs/zfs/zfs-0.6.5.2.ebuild) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/zfs/zfs-0.6.5.2.ebuild b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild index 54dd3410ffc3..83049e7f4ec0 100644 --- a/sys-fs/zfs/zfs-0.6.5.2.ebuild +++ b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild @@ -86,6 +86,12 @@ pkg_setup() { } src_prepare() { +if [ ${PV} != "9999" ] + then + # Fix OpenRC scripts + epatch "${FILESDIR}/zfs-0.6.5-fix-openrc-scripts.patch" + fi + # Update paths sed -e "s|/sbin/lsmod|/bin/lsmod|" \ -e "s|/usr/bin/scsi-rescan|/usr/sbin/rescan-scsi-bus|" \ |