From 150b961a0bd7bd2d18f24ad60442703461231668 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. (cherry picked from commit 8f24348e7216d67548f931a9258363deebfbaa18) --- .github/workflows/mkosi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 3c1c440409..54c2a499e9 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -134,6 +134,8 @@ jobs: ExecStart=false EOF cp mkosi.presets/10-initrd/mkosi.extra/usr/lib/systemd/system/emergency.service.d/poweroff.conf mkosi.presets/20-final/mkosi.extra/usr/lib/systemd/system/emergency.service.d/poweroff.conf + sudo ln -svf "$(dirname "$(readlink /usr/bin/bootctl)")/systemd-keyutil" /usr/lib/systemd/systemd-keyutil + /usr/lib/systemd/systemd-keyutil --version - name: Generate secure boot key run: mkosi --debug genkey