-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/systemd-boot: conform backend to rfc 125 #263442
Conversation
@ofborg test systemd-boot |
6c105ee
to
b4bfb45
Compare
kernel_params = "init=%s " % profile_path(profile, generation, specialisation, "init") | ||
kernel_params = "init=%s " % bootspec.init | ||
|
||
kernel_params = kernel_params + " ".join(bootspec.kernelParams) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kernel_params = kernel_params + " ".join(bootspec.kernelParams) | |
kernel_params = " ".join([f"init={bootspec.init}"] + bootspec.kernelParams) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Can merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop the lol
please of the commit.
Now the builder is using Bootspec documents.
b4bfb45
to
372d07d
Compare
Description of changes
This converts the
systemd-boot
backend to use the bootspec to conform to RCF 125.The only functional difference with before, is that the
describe_generation
function as been removed and replaced by thelabel
item of the bootspec, this will induce a change of format of the entries, but should contain the same information as before.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)