feat: enable support for XBOOTLDR#456
Open
sarunint wants to merge 10 commits intonix-community:masterfrom
Open
feat: enable support for XBOOTLDR#456sarunint wants to merge 10 commits intonix-community:masterfrom
XBOOTLDR#456sarunint wants to merge 10 commits intonix-community:masterfrom
Conversation
Author
|
After nearly a whole year, I finally have time to make this finally works with appropriate tests. |
sarunint
commented
Apr 6, 2026
Comment on lines
-107
to
-108
| system.build.espFiles = espFiles; | ||
|
|
Author
There was a problem hiding this comment.
I'm not sure why this is needed in the first place.
Comment on lines
+211
to
+212
| default = lib.genList (_: null) (lib.length cfg.extraEfiSysMountPoints); | ||
| defaultText = "[ null ] # repeated to match extraEfiSysMountPoints length"; |
Author
There was a problem hiding this comment.
Not sure if this is the correct way to generate a list of nulls to a specific length
25c1efb to
2e96897
Compare
XBOOTLDR in lzbt-systemdXBOOTLDR
…ction with `extraEfiSysMountPoints`
This `boot` argument represents $BOOT as per [Boot Loader Specification](https://uapi-group.org/specifications/specs/boot_loader_specification/#the-boot-partition-placeholder). It is expected to be Extended Boot Loader partition (XBOOTLDR) if desired, otherwise, it is expected to be ESP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #173
In some systems, especially those pre-installed with Windows, the EFI System Partition (ESP) might not be large enough to contain the kernels and initrds used to boot.
XBOOTLDRis a partition specified by Boot Loader Specification to accommodate storing additional boot entries.Currently, Lanzaboote only supports writing kernels, initrds, and EFI stubs to ESP but not
XBOOTLDR. This PR adds support for it bylzbt-systemdto denote$BOOTpartition, which is a placeholder forXBOOTLDRor ESP, ifXBOOTLDRdoesn't exists.XBOOTLDRmount point fromboot.loader.systemd-boot.xbootldrMountPointand pass it along tolzbt-systemdaccordingly.