Repository navigation
nixos/*: Fix some pkgs.systemd references - #547726
Conversation
pkgs.systemd does not respect config.systemd.package and config.boot.initrd.systemd.package overrides. Fix references to the systemd package to ensure that the udevadm used is copied into the initrd. While we're at it, fix the non-initrd reference to systemd as well.
pkgs.systemd does not respect config.systemd.package and config.boot.initrd.systemd.package overrides. Fix references to the systemd package to ensure that the udevadm used is copied into the initrd.
Every
|
|
cc (clevis) @JulienMalka, @camillemndn, (homebridge) @fmoda3, (duckdns) @notthebee, Would appreciate taking a look to see if your modules are broken by overriding |
There was a problem hiding this comment.
(as the ifstate maintainer)
Thx, I seem to have overlooked this when it was introduced in dramforever@1e4eb2d. Funnily enough I've done the same yesterday in my system configurations.
Also, great catch, that the sore path for the inited systemd and normal systemd don't necessarily need to be the same.
I think this probably should also be backported.
The other change also seems correct to me.
|
Let's get these already, even if some other may also benefit from further checking/fixing. |
|
Successfully created backport PR for |
pkgs.systemd does not respect config.systemd.package and config.boot.initrd.systemd.package overrides. Fix references to the systemd package to ensure that the udevadm used is copied into the initrd.
Fixes
nixosTests.predictable-interface-names(#547195 (comment)) AlsonixosTests.ifstate.initrdno longer complains about udevadm missing.I also went through all instances of
pkgs.systemdinnixos/and I'll post a comment below listing what I foundThings done
nixosTests.predictable-interface-names.*,nixosTests.ifstate.*)passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.