feat(kernel): Add working directory log to build script
Some checks failed
Build kernel module / build (1:6.12.93-1+rpt1) (push) Failing after 41s
Build kernel module / release (push) Has been skipped

Log the current working directory in `build-in-docker.sh` to improve the
debugging process during kernel module compilation. This update helps
track the build context path passed to the Docker container.
This commit is contained in:
Christian Werner 2026-06-19 03:40:43 +02:00
parent 1c5fe33927
commit 231fdba93d

View File

@ -40,6 +40,7 @@ docker build --platform linux/arm64 \
# 3. Compile; mount this dir so the .ko lands on the host, owned by the caller. # 3. Compile; mount this dir so the .ko lands on the host, owned by the caller.
echo "==> compiling module" echo "==> compiling module"
echo "working directory: $PWD"
docker run --rm --platform linux/arm64 \ docker run --rm --platform linux/arm64 \
-u "$(id -u):$(id -g)" -e HOME=/tmp \ -u "$(id -u):$(id -g)" -e HOME=/tmp \
-v "$PWD:/build" "$IMAGE" "$@" -v "$PWD:/build" "$IMAGE" "$@"