Paolo Bonzini <pbonz...@redhat.com> writes:

> On 10/12/22 14:17, Alex Bennée wrote:
>>> Container-based cross compilers have some issues which were overlooked
>>> when they were only used for TCG tests, but are more visible since
>>> firmware builds try to use them:
>> We seem to have dropped our gating somewhere. Previously if a user did
>> not have docker or podman on their system none of the container stuff
>> would run.
>
> It's still there:
>
> container="no"
> if test $use_containers = "yes"; then
>     case $($python "$source_path"/tests/docker/docker.py probe) in
>         *docker) container=docker ;;
>         podman) container=podman ;;
>         no) container=no ;;
>     esac
>     if test "$container" != "no"; then
>         docker_py="$python $source_path/tests/docker/docker.py --engine 
> $container"
>     fi
> fi
>
> I think what's happening is that podman is there but there's no support
> for rootless containers, so "podman run" fails.

Ahh so we could improve our probe code then? I'm afraid I don't have
much personal testing coverage for podman stuff - I thought rootless
support was the main reason Fedora had transitioned to it.

>
> Paolo


-- 
Alex Bennée

Reply via email to