From 4e1e707628edddaf32c769e3787eb9a5e78d1f25 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 13 Oct 2021 10:57:35 +0200 Subject: [PATCH] jenkins/kola/container: pass PORTAGE_BINHOST to container Otherwise, it was failing since we check for unbound variable: ``` /bin/bash: line 1: PORTAGE_BINHOST: unbound variable ``` Signed-off-by: Mathieu Tortuyaux --- jenkins/kola/dev-container.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/kola/dev-container.sh b/jenkins/kola/dev-container.sh index 73907f1e77..f323e7418e 100755 --- a/jenkins/kola/dev-container.sh +++ b/jenkins/kola/dev-container.sh @@ -26,6 +26,7 @@ else fi sudo systemd-nspawn $PIPEARG \ + --setenv=PORTAGE_BINHOST="${PORTAGE_BINHOST}" \ --bind-ro=/lib/modules \ --bind-ro="$PWD/flatcar_production_image_kernel_config.txt:/boot/config" \ --bind-ro="${GOOGLE_APPLICATION_CREDENTIALS}:/opt/credentials.json" \