-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
linuxPackages.drbd: 9.2.8 -> 9.2.9 #309022
Conversation
- 6.8 kernel support added - aligned to Nix standard build environment - test added - redundant installPhase and postFixup definitions removed Signed-off-by: birkb <birk@batchworks.de>
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/linuxpackages-drbd-missing-system-map-file-skipping-depmod/44848/1 |
Signed-off-by: birkb <birk@batchworks.de>
Signed-off-by: birkb <birk@batchworks.de>
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.
@@ -266,6 +266,7 @@ in { | |||
dovecot = handleTest ./dovecot.nix {}; | |||
drawterm = discoverTests (import ./drawterm.nix); | |||
drbd = handleTest ./drbd.nix {}; | |||
drbd-driver = handleTest ./drbd-driver.nix {}; |
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.
The drbd
test above uses the services.drbd.enable
option, which already enables the kernel module. This test is redundant.
boot.kernelModules = [ "drbd" ]; |
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.
The drbd test validates the userland utilities, but not the kernel driver. The in-tree driver is loaded to create the DRBD devices, but no special driver checks are done.
The drbd-driver test loads the out-of-tree driver (provided by this package) and validates the version of the loaded driver.
I think we need both tests...
- for better readability Signed-off-by: birkb <birk@batchworks.de>
- 6.8 kernel support added - aligned to Nix standard build environment - test added - redundant installPhase and postFixup definitions removed Signed-off-by: birkb <birk@batchworks.de>
Mass ping, please resubmit. |
Description of changes
installPhase
andpostFixup
definitions removedThings 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/
)