]> git.99rst.org Git - openwrt-packages.git/commit
oci-runtime-tools: install the test rootfs archives on x86
authorDaniel Golle <redacted>
Wed, 19 Aug 2026 06:08:49 +0000 (07:08 +0100)
committerDaniel Golle <redacted>
Sun, 23 Aug 2026 22:37:55 +0000 (23:37 +0100)
commita2d0bdddd4a92a15341d1a62febff1b8957a8f45
treef0d0e5dfbafdd5342fb16669ec4e2146573ea637
parentfe9a06c343ce1c8b265909b3720eec2153c10b4a
oci-runtime-tools: install the test rootfs archives on x86

The install recipe guarded both archives with CONFIG_x86, a symbol OpenWrt
never defines: the target symbol is CONFIG_TARGET_x86 and the architecture
symbols are CONFIG_i386 and CONFIG_x86_64. No archive was therefore packaged
and every validation test stopped at "rootfs-amd64.tar.gz: Cannot open".
Key each archive off the architecture symbol that matches it, i686 included,
so the package's own architecture guard and the archive it installs cannot
disagree.

The choice moves out of the install recipe, since a conditional inside a
define has to start at the beginning of the line to be a directive at all,
which leaves no way to indent it as the packaging guidelines ask for.

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