Krzesimir Nowak 0e4077e384 app-containers/incus: Fix cross-compile issues
When building arm64 binaries on amd64 machine, `go install` puts the
binaries inside the `linux-arm64` directory. But the agent binaries
are built with `go build` with explicitly set path to output
directory. Let's make sure that the output directory matches the
directory used by `go install`. The `src_install` makes an assumption
that all the binaries are in the same directory.

Also, fix installation directory for arm64 agents, so the target
directory matches a path set in 90incus env file.

Add a work around an issue with live ebuilds where the go compile
environment was not set. Do it explicitly for the live ebuilds, while
waiting for the proper solution in EAPI 9, possibly.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/35
Merges: https://codeberg.org/gentoo/gentoo/pulls/35
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2026-02-19 13:34:25 +02:00
2026-02-16 22:43:27 +01:00
2026-02-16 20:54:43 -05:00
2026-02-11 02:51:55 +00:00
2026-02-02 18:41:07 +07:00
2026-02-08 13:34:15 +01:00
2026-02-16 23:04:33 +01:00
2026-02-19 09:49:47 +02:00
2026-02-11 03:27:50 +00:00
2026-02-13 06:11:43 -06:00
2026-02-08 00:51:49 +01:00
2026-02-18 23:08:30 +01:00
2026-02-11 07:14:42 +00:00
2026-02-16 01:24:39 +01:00
2026-02-16 09:03:27 +00:00
2026-02-15 21:21:26 +01:00
2026-02-14 11:04:50 +02:00
2026-02-18 10:03:51 -05:00
2026-02-17 15:34:06 +00:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%