-
Notifications
You must be signed in to change notification settings - Fork 60
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
Offline installer fix #575
Conversation
d6c88f0
to
2489be6
Compare
tests/installer/default.nix
Outdated
@@ -40,7 +40,7 @@ pkgs.nixosTest { | |||
|
|||
print(machine.succeed("tty")) | |||
|
|||
machine.succeed("disko-install --disk ${disk} /dev/vdb --flake ${self}#${testConfig}") | |||
machine.succeed("disko-install --write-efi-boot-entries --disk ${disk} /dev/vdb --flake ${self}#${testConfig}") |
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.
@remimimimimi that's a very subtle difference. Let me fix this in nixpkgs actually.
The issue is that disko-install needs to override the NixOS configuration to disable writing efi vars as the default because it would be not fit as a USB flasher if it would make the system it's running on unbootable.
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.
That in turn triggered a rebuild of systemd-boot-builder.
Signed-off-by: Valentin Kharin <valentin.kharin@unikie.com>
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
7aeb6b7
to
9d7b69a
Compare
I also fixed NixOS to not require boot install script checks rebuilds when the nixos configuration changes: NixOS/nixpkgs#306339 |
I believe this is part of #585 ? |
Description of changes
Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting