From: Richard Yao Date: Thu, 1 Oct 2015 22:52:18 +0000 (-0400) Subject: sys-fs/zfs-0.6.5-r1: Fix OpenRC scripts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d7de0583e56f17e06b96ec9c5bb4172fbc38e82;p=gentoo.git 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 --- diff --git a/sys-fs/zfs/zfs-0.6.5.2.ebuild b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild similarity index 97% rename from sys-fs/zfs/zfs-0.6.5.2.ebuild rename to 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|" \