Fix ukify

This commit is contained in:
Audiobuzz
2026-06-13 05:56:32 +00:00
parent 327799a666
commit ce87ebdbbd
2 changed files with 40 additions and 1 deletions
+6 -1
View File
@@ -41,11 +41,16 @@ if printf '%s' "$CMDLINE" | grep -q NVMET_TRADDR; then
fi
# --- 1+2. Build (and sign) the UKI -------------------------------------------
# os-release stamped into the UKI's .osrel section (identifies the image to
# bootctl / boot menus). ukify takes this as inline text; a value starting with
# '@' is instead read from a file of that name (newline-separated KEY=VALUE).
OSREL=$(printf 'NAME=FleetDiskless\nID=fleet-diskless\nVERSION_ID=%s\nPRETTY_NAME="Fleet Diskless %s"\n' "$VERSION" "$VERSION")
UKIFY_ARGS=(build
--linux "$ART/vmlinuz"
--initrd "$ART/initramfs.img"
--cmdline "$CMDLINE"
--os-release "@NAME=FleetDiskless@VERSION=${VERSION}@"
--os-release "$OSREL"
--output "$UKI")
if [ -n "$SB_KEY" ] && [ -n "$SB_CERT" ]; then