Skip to content
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

boot.loader.grub: add extraInstallCommands option #108242

Merged
merged 1 commit into from Jan 23, 2021

Conversation

GovanifY
Copy link
Member

@GovanifY GovanifY commented Jan 2, 2021

Motivation for this change

We might want to execute some commands after the bootloader has been installed along with its menu entires, eg for signature checks. This option adds an easy way to do that for GRUB.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/is-it-possible-to-have-a-config-system-overlay/10783/4

@GovanifY
Copy link
Member Author

@otavio @Mic92 Is there any news on the review of this patch?

@otavio
Copy link
Contributor

otavio commented Jan 20, 2021

For me it's fine. I cannot merge it so I think someone else needs to review it.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/450

@Mic92
Copy link
Member

Mic92 commented Jan 23, 2021

@GrahamcOfBorg test installer

@Mic92
Copy link
Member

Mic92 commented Jan 23, 2021

@GrahamcOfBorg test grub

@Mic92 Mic92 merged commit 17da58a into NixOS:master Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants