diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-09 20:53:02 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-11 12:18:50 +0200 |
commit | 93a948865cb20ded582a8ea670ccd78af75f47f6 (patch) | |
tree | f15ebcf5f1a8c6ad985ded9444de84d2f7a27d70 /.github | |
parent | mkosi: Disable pamconfdir (diff) | |
download | systemd-93a948865cb20ded582a8ea670ccd78af75f47f6.tar.xz systemd-93a948865cb20ded582a8ea670ccd78af75f47f6.zip |
mkosi: Run in debug mode
Let's make sure we log more of what mkosi's doing so we can debug
issues better. Note this also makes mkosi set SYSTEMD_LOG_LEVEL=debug
when running programs so we'll get all the systemd debug logging as
well.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/mkosi.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index fc1c95ebfa..12f3b6e73a 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -71,6 +71,9 @@ jobs: - distro: centos release: "8" + env: + SYSTEMD_LOG_LEVEL: debug + steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - uses: systemd/mkosi@3008c7e9383669b7fb6f6afe556c6fd28f28f8f4 @@ -99,22 +102,22 @@ jobs: EOF - name: Generate secure boot key - run: mkosi genkey + run: mkosi --debug genkey - name: Show ${{ matrix.distro }} image summary run: mkosi summary - name: Build ${{ matrix.distro }} - run: mkosi + run: mkosi --debug - name: Boot ${{ matrix.distro }} systemd-nspawn - run: sudo mkosi boot + run: sudo mkosi --debug boot - name: Check ${{ matrix.distro }} systemd-nspawn - run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" + run: sudo mkosi --debug shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" - name: Boot ${{ matrix.distro }} QEMU - run: timeout -k 30 10m mkosi qemu + run: timeout -k 30 10m mkosi --debug qemu - name: Check ${{ matrix.distro }} QEMU - run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" + run: sudo mkosi --debug shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" |