summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-05-15 11:57:06 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-05-15 11:57:06 +0300
commitbd9a21c94f79536ee7feb436db238b234b197ff7 (patch)
tree5a48b39dedbf10e20d883c3a467ccba950bd0ba9 /app-emulation
parentapp-emulation/lxd: copy zfs fix from 3.16 ebuild to 4 LTS (diff)
downloadgentoo-bd9a21c94f79536ee7feb436db238b234b197ff7.tar.gz
gentoo-bd9a21c94f79536ee7feb436db238b234b197ff7.tar.bz2
gentoo-bd9a21c94f79536ee7feb436db238b234b197ff7.zip
app-emulation/lxd: update zfs fix line per feedback on bug 723208
- straight copypaste from the bug (I don't have zfs to test on). Closes: https://bugs.gentoo.org/723208 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/lxd/lxd-4.0.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/lxd/lxd-4.0.1.ebuild b/app-emulation/lxd/lxd-4.0.1.ebuild
index 020974b79e2e..21a6fcee0663 100644
--- a/app-emulation/lxd/lxd-4.0.1.ebuild
+++ b/app-emulation/lxd/lxd-4.0.1.ebuild
@@ -87,7 +87,7 @@ src_prepare() {
Makefile || die
sed -i 's#lib$#lib/lxd#' "${GOPATH}"/deps/libco/Makefile || die
- sed -i 's#zfs version | cut -f 2#< /sys/module/zfs/version cut -f 1#' "${GOPATH}"/deps/raft/configure.ac || die
+ sed -i 's#zfs version 2>/dev/null | cut -f 2 -d - | head -1#< /sys/module/zfs/version cut -f 1#' "${GOPATH}"/deps/raft/configure.ac || die
common_op eautoreconf
}