From 387616a72a16570cad02118d9072bf9cdf91ee89 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 54dd3410..83049e7f 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|" \