]> git.99rst.org Git - openwrt-packages.git/commit
oci-runtime-tools: build runtimetest statically
authorDaniel Golle <redacted>
Wed, 19 Aug 2026 06:08:26 +0000 (07:08 +0100)
committerDaniel Golle <redacted>
Sun, 23 Aug 2026 22:37:55 +0000 (23:37 +0100)
commitfe9a06c343ce1c8b265909b3720eec2153c10b4a
tree28d1776927284cb1d192090a7bd33b3c9f7894b4
parentdcb2c2f692ed607f34e69009faf909d9ff64a70a
oci-runtime-tools: build runtimetest statically

runtimetest is copied into the validation bundle, whose rootfs carries a
static busybox and no dynamic loader, so the dynamically linked binary the
generic Go recipe produces fails to execute and every validation test that
inspects the container from the inside aborts.

Build that one command again as the static binary upstream's own runtimetest
target produces. Upstream gets there by asking the external linker for a
static link, while disabling cgo reaches the same result without fighting the
-linkmode external that the generic Go recipe would otherwise impose.

Signed-off-by: Daniel Golle <redacted>
utils/oci-runtime-tools/Makefile
git clone https://git.99rst.org/PROJECT