From 4d7de0583e56f17e06b96ec9c5bb4172fbc38e82 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Thu, 1 Oct 2015 18:52:18 -0400 Subject: [PATCH] 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 --- sys-fs/zfs/{zfs-0.6.5.2.ebuild => zfs-0.6.5.2-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) rename sys-fs/zfs/{zfs-0.6.5.2.ebuild => zfs-0.6.5.2-r1.ebuild} (97%) 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|" \ -- 2.26.2