From be1cb19335141d2eb9b417d5d26e26764901045d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Tue, 11 Oct 2022 12:34:17 +0100 Subject: [PATCH] configure: expose the direct container command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the process of migrating away from using docker.py to build our containers we need to expose the command to the build environment. The script is still a useful way to probe which command works though. Signed-off-by: Alex Bennée Signed-off-by: Stefan Hajnoczi Message-Id: <20221011113417.794841-5-alex.bennee@linaro.org> --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 45ee6f4eb3..5484ed2568 100755 --- a/configure +++ b/configure @@ -1778,6 +1778,7 @@ fi # functions to probe cross compilers container="no" +runc="" if test $use_containers = "yes"; then case $($python "$source_path"/tests/docker/docker.py probe) in *docker) container=docker ;; @@ -1786,6 +1787,7 @@ if test $use_containers = "yes"; then esac if test "$container" != "no"; then docker_py="$python $source_path/tests/docker/docker.py --engine $container" + runc=$($python "$source_path"/tests/docker/docker.py probe) fi fi @@ -2380,6 +2382,7 @@ fi if test "$container" != no; then echo "ENGINE=$container" >> $config_host_mak + echo "RUNC=$runc" >> $config_host_mak fi echo "ROMS=$roms" >> $config_host_mak echo "MAKE=$make" >> $config_host_mak