From 9423837cfe91dc2b3a5f1d9f263576889b509ec5 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 15 Nov 2024 10:34:09 +0000 Subject: [PATCH] ci: link systemd-keyutil into place The mkosi action.yaml links systemd main, and instealls an hard-coded set of binaries. ukify now depends on the new systemd-keyutil, which cannot be in that list. Link it manually. --- .github/workflows/mkosi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 8911dda886..e5516c7fb8 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -124,6 +124,8 @@ jobs: ExecStart=false EOF cp mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/emergency.service.d/poweroff.conf mkosi.images/system/mkosi.extra/usr/lib/systemd/system/emergency.service.d/poweroff.conf + sudo ln -svf /usr/lib/systemd/systemd-keyutil "$(dirname "$(readlink /usr/bin/bootctl)")/systemd-keyutil" + /usr/lib/systemd/systemd-keyutil --version - name: Generate secure boot key run: mkosi --debug genkey