initial actions, entries, generators mechanism!

This commit is contained in:
2025-10-04 23:12:01 -07:00
parent b995ea0625
commit 24a9e2c727
10 changed files with 373 additions and 32 deletions

View File

@@ -1,2 +1,14 @@
[[modules]]
chainloader = { path = "\\EFI\\BOOT\\KERNEL.EFI", options = ["tty=hvc0"] }
version = 1
[values]
default-options = "tty=hvc0"
[actions.chainload-kernel]
chainload.path = "$path"
chainload.options = ["$default-options"]
[generators.kernels.matrix]
entry.title = "Boot Kernel $name"
entry.values.path = "\\EFI\\BOOT\\$name"
entry.actions = ["chainload-kernel"]
values.name = ["kernel.efi"]

View File

@@ -1,5 +0,0 @@
[[modules]]
chainloader = { path = "\\EFI\\BOOT\\SHELL.EFI" }
[[modules]]
chainloader = { path = "\\EFI\\BOOT\\KERNEL.EFI", options = ["tty=hvc0"] }