From 3573de724b5030f24e0e6a44ab58a87937d1a2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Thu, 14 May 2026 09:33:36 +0200 Subject: [PATCH 1/3] build.sh: Enable debug in make MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream-Status: Inappropriate [temporary debug] Signed-off-by: Michał Żygowski --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index cb7894ec069..601b74dd81b 100755 --- a/build.sh +++ b/build.sh @@ -57,9 +57,9 @@ function sdk_run { function build_prep { if [ "${AIRGAP}" -eq 1 ]; then - sdk_run /bin/bash -c "make clean" + sdk_run /bin/bash -c "make clean -d" else - sdk_run /bin/bash -c "make distclean" + sdk_run /bin/bash -c "make distclean -d" fi cp "${DEFCONFIG}" .config @@ -83,13 +83,13 @@ function build_start { chmod -R 755 "$TARGET_DIR" sdk_run --network none \ ${EDK2_REPO_PATH:+-v $EDK2_REPO_PATH:/home/coreboot/coreboot/${TARGET_DIR}} \ - /bin/bash -c "make olddefconfig && make -j$(nproc)" + /bin/bash -c "make olddefconfig -d && make -j$(nproc) -d" else echo "EDK2_REPO_PATH is not defined in AIRGAP!" exit 1 fi else - sdk_run /bin/bash -c "make olddefconfig && make -j$(nproc)" + sdk_run /bin/bash -c "make olddefconfig -d && make -j$(nproc) -d" fi } From 81edb371847133aa28f1bb392300add8b3756c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Thu, 14 May 2026 11:58:43 +0200 Subject: [PATCH 2/3] build.sh: Add file listing for debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream-Status: Inappropriate [CI testing] Signed-off-by: Michał Żygowski --- build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 601b74dd81b..ffb45da56db 100755 --- a/build.sh +++ b/build.sh @@ -48,7 +48,7 @@ BUILD_TIMELESS=${BUILD_TIMELESS:-0} AIRGAP=${AIRGAP:-0} function sdk_run { - docker run --rm -t -u $UID -v $PWD:/home/coreboot/coreboot \ + docker run --rm -t -u $(id -u) -v $PWD:/home/coreboot/coreboot \ -v $HOME/.ssh:/home/coreboot/.ssh \ -e BUILD_TIMELESS=${BUILD_TIMELESS} \ -w /home/coreboot/coreboot ${DASHARO_SDK} \ @@ -56,10 +56,11 @@ function sdk_run { } function build_prep { + ls -al; if [ "${AIRGAP}" -eq 1 ]; then - sdk_run /bin/bash -c "make clean -d" + sdk_run /bin/bash -c "ls -al; make clean -d" else - sdk_run /bin/bash -c "make distclean -d" + sdk_run /bin/bash -c "ls -al; make distclean -d" fi cp "${DEFCONFIG}" .config From 1d63c2066da0b4dd2c8a80c1d7c2026ebeb0f348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Thu, 14 May 2026 12:29:26 +0200 Subject: [PATCH 3/3] build.sh: Fix runner permissions by adding to SDK container user group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream-Status: Inappropriate [CI testing] Signed-off-by: Michał Żygowski --- build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index ffb45da56db..87c0b596954 100755 --- a/build.sh +++ b/build.sh @@ -48,19 +48,20 @@ BUILD_TIMELESS=${BUILD_TIMELESS:-0} AIRGAP=${AIRGAP:-0} function sdk_run { - docker run --rm -t -u $(id -u) -v $PWD:/home/coreboot/coreboot \ + docker run --rm -t -u $UID \ + -v $PWD:/build/coreboot \ -v $HOME/.ssh:/home/coreboot/.ssh \ -e BUILD_TIMELESS=${BUILD_TIMELESS} \ - -w /home/coreboot/coreboot ${DASHARO_SDK} \ + -w /build/coreboot ${DASHARO_SDK} \ "$@" } function build_prep { ls -al; if [ "${AIRGAP}" -eq 1 ]; then - sdk_run /bin/bash -c "ls -al; make clean -d" + sdk_run /bin/bash -c "id; ls -al; make clean -d" else - sdk_run /bin/bash -c "ls -al; make distclean -d" + sdk_run /bin/bash -c "id; ls -al; make distclean -d" fi cp "${DEFCONFIG}" .config