Skip to content

Commit

Permalink
sys-fs/zfs-0.6.5-r1: Fix OpenRC scripts
Browse files Browse the repository at this point in the history
openzfs/zfs#3800

Package-Manager: portage-2.2.20.1
Signed-off-by: Richard Yao <[email protected]>
  • Loading branch information
ryao committed Oct 1, 2015
1 parent 25c07ff commit 387616a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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|" \
Expand Down

0 comments on commit 387616a

Please sign in to comment.