On Fri, Sep 12, 2025 at 03:44:25PM +0100, Andrew Cooper wrote:
> Marek noticed that some builds were failing with:
>
> + cd dist/install
> + find
> + cpio -R 0:0 -o -H newc
> ./automation/scripts/build: line 111: cpio: command not found
> + gzip
>
> but succeeding overall, and producing a zero length xen-tools.cpio.gz as an
> artefact.
>
> In fact, it's all of:
>
> archlinux:current
> debian:12-x86_32
> fedora:41
> opensuse:tumbleweed
> ubuntu (all versions)
>
> Add cpio into all of these containers, including opensuse leap for good
> measure, and use pipefail in the build script.
>
> Fixes: 4611ae6fb8f9 ("CI: save toolstack artifact as cpio.gz")
> Reported-by: Marek Marczykowski-Górecki <[email protected]>
> Signed-off-by: Andrew Cooper <[email protected]>
Reviewed-by: Denis Mukhin <[email protected]>