From 5a9c8ac27785130bee88f105aa4ed8d0d0b33f48 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Tue, 26 Nov 2024 11:27:56 +0100 Subject: [PATCH] ci: yocto-check-layer: run KAS with debug For some reasons, kas does not checkout what we expect. The lock yaml files contain the most recent commits from poky and meta-qcom, which is expected since we run kas dump --update, however the downstream kas commands checkout the latest commits in the local mirror, not what we set in the lock files. Let's add some debug to observe what is happening during the build. Signed-off-by: Nicolas Dechesne --- .github/workflows/build-yocto.yml | 6 +++--- ci/yocto-check-layer.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-yocto.yml b/.github/workflows/build-yocto.yml index b77da5f8..c7772785 100644 --- a/.github/workflows/build-yocto.yml +++ b/.github/workflows/build-yocto.yml @@ -41,7 +41,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: kas-lock - path: ci/*.lock.yml + path: ci/ - name: Run yocto-check-layer run: | @@ -59,7 +59,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: kas-lock - path: ci/*.lock.yml + path: ci/ - name: Run Yocto patchreview run: | @@ -85,7 +85,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: kas-lock - path: ci/*.lock.yml + path: ci/ - name: Kas build run: | diff --git a/ci/yocto-check-layer.sh b/ci/yocto-check-layer.sh index 580d31d6..b1fe87cc 100755 --- a/ci/yocto-check-layer.sh +++ b/ci/yocto-check-layer.sh @@ -22,4 +22,4 @@ CMD="$CMD --no-auto-dependency" CMD="$CMD --machines $(echo $(find $TOPDIR/conf/machine/ -maxdepth 1 -name *.conf -exec basename {} .conf \; ))" echo "Running kas in $KAS_WORK_DIR" -exec kas shell $TOPDIR/ci/base.yml --command "$CMD" +exec kas -l debug shell $TOPDIR/ci/base.yml --command "$CMD"