refactor: harden diagnostics and consolidate runtime code

This commit is contained in:
Mikhail Chusavitin
2026-09-01 13:01:28 +03:00
parent ac4bc0b2b7
commit 0a6ca8ba0f
49 changed files with 1441 additions and 837 deletions
+8
View File
@@ -85,6 +85,14 @@ render_bootloader_template() {
initrd_placeholder="$7"
initrd="$8"
for required_placeholder in \
"@VERSION@" \
"$kernel_placeholder" \
"@APPEND_LIVE@" \
"$initrd_placeholder"; do
require_template_placeholder "$template" "$required_placeholder" || return 1
done
BEE_RENDER_VERSION="$version" \
BEE_RENDER_KERNEL_PLACEHOLDER="$kernel_placeholder" \
BEE_RENDER_KERNEL="$kernel" \