initial actions, entries, generators mechanism!

This commit is contained in:
alex committed 2025-10-04 23:12:01 -07:00
1 parent b995ea0625
commit 24a9e2c727
10 files changed
+373 -32

No files matched your search

+14 -2
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"]
-5
View File
@@ -1,5 +0,0 @@
[[modules]]
chainloader = { path = "\\EFI\\BOOT\\SHELL.EFI" }
[[modules]]
chainloader = { path = "\\EFI\\BOOT\\KERNEL.EFI", options = ["tty=hvc0"] }