Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/
Date: Wed, 30 Jun 2021 04:48:10
Message-Id: 1625027969.41765dab645acb31174d787d8d7c4288ae8bce18.juippis@gentoo
1 commit: 41765dab645acb31174d787d8d7c4288ae8bce18
2 Author: Benedikt Neuffer <gentoo <AT> itfriend <DOT> de>
3 AuthorDate: Sun Jun 27 14:55:09 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 30 04:39:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41765dab
7
8 app-emulation/lxd: fix virtfs-proxy-helper path
9
10 Closes: https://bugs.gentoo.org/798924
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-emulation/lxd/lxd-4.0.6.ebuild | 5 +++++
14 1 file changed, 5 insertions(+)
15
16 diff --git a/app-emulation/lxd/lxd-4.0.6.ebuild b/app-emulation/lxd/lxd-4.0.6.ebuild
17 index e701c89b199..92c4ad7891d 100644
18 --- a/app-emulation/lxd/lxd-4.0.6.ebuild
19 +++ b/app-emulation/lxd/lxd-4.0.6.ebuild
20 @@ -82,6 +82,11 @@ src_prepare() {
21 doc/environment.md \
22 lxd/apparmor/instance_qemu.go \
23 lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
24 +
25 + # Fix hardcoded virtfs-proxy-helper file path, see bug 798924
26 + sed -i \
27 + -e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
28 + lxd/device/disk.go || die "Failed to fix virtfs-proxy-helper path."
29 }
30
31 src_configure() { :; }