tool: split esp paths #74
No reviewers
Labels
No labels
bug
dependency
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
review-next
security
stub
tool
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: raito/lanzaboote#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor-esp-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To access paths on the ESP before or after installing generations, split EspPaths into general EspPaths that only depend on the path to the ESP and EspGenerationPaths which additionally depend on generation specific information (e.g. version number and initrd filename).
This refactoring is in preparation to a larger change to the way systemd-boot is installed.
@ -70,6 +54,38 @@ impl EspPaths {
}
}
nit: I honestly had a bit of trouble making sense of this. Maybe:
nit: Maybe:
Looks pretty straightforward. Feel free to ignore the nits.
@ -70,6 +54,38 @@ impl EspPaths {
}
}
I still have a hard time finding a good comment/explanation. Your suggestions are definetely an improvement though.