From: Joonas Niilola Date: Fri, 15 May 2020 08:57:06 +0000 (+0300) Subject: app-emulation/lxd: update zfs fix line per feedback on bug 723208 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd9a21c94f79536ee7feb436db238b234b197ff7;p=gentoo.git 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 --- 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 }