add initial initramfs support, not quite working yet

This commit is contained in:
2025-10-12 00:46:05 -07:00
parent fc239ea54d
commit 5f5ef1ddd3
6 changed files with 26 additions and 41 deletions

View File

@@ -1,19 +1,22 @@
version = 1
[values]
default-options = "console=hvc0"
default-options = "initrd=\\initramfs init=/bin/sh console=hvc0"
[actions.welcome]
print.text = "Welcome to Sprout!"
[actions.splash]
splash.image = "edera-splash.png"
splash.time = 5
splash.time = 1
[actions.chainload-kernel]
chainload.path = "$path"
chainload.options = ["$default-options"]
[actions.chainload-shell]
chainload.path = "\\EFI\\BOOT\\shell.efi"
[generators.kernels.matrix]
entry.title = "Boot Kernel $name"
entry.values.path = "\\EFI\\BOOT\\$name"
@@ -21,4 +24,4 @@ entry.actions = ["chainload-kernel"]
values.name = ["kernel.efi"]
[[phases.startup]]
actions = ["splash", "welcome"]
actions = ["welcome", "splash"]