implement loading of initramfs via the linux media initrd protocol

This commit is contained in:
2025-10-12 20:22:24 -07:00
parent 9a52fa1d1c
commit 87944067d1
6 changed files with 204 additions and 12 deletions

View File

@@ -1,7 +1,8 @@
version = 1
[values]
default-options = "initrd=\\initramfs console=hvc0"
default-options = "console=hvc0"
initramfs = "\\initramfs"
[actions.welcome]
print.text = "Welcome to Sprout!"
@@ -13,12 +14,7 @@ splash.time = 1
[actions.chainload-kernel]
chainload.path = "$path"
chainload.options = ["$default-options"]
[actions.chainload-shell]
chainload.path = "\\EFI\\BOOT\\shell.efi"
[actions.chainload-xen]
chainload.path = "\\EFI\\BOOT\\xen.efi"
chainload.linux-initrd = "$initramfs"
[generators.kernels.matrix]
entry.title = "Boot Linux $name"
@@ -26,9 +22,5 @@ entry.values.path = "\\EFI\\BOOT\\$name"
entry.actions = ["chainload-kernel"]
values.name = ["kernel.efi"]
#[entries.xen]
#title = "Boot Xen"
#actions = ["chainload-xen"]
[[phases.startup]]
actions = ["welcome"]