nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it
It looks like the systemd-initrd variant of the systemd-shutdown test (systemd-initrd-shutdown) did not actually enable the systemd-initrd and so was just evaluating to the same store path before this change.
This commit is contained in:
parent
b69883faca
commit
308657daec
|
@ -11,6 +11,7 @@ in {
|
||||||
systemd.shutdownRamfs.contents."/etc/systemd/system-shutdown/shutdown-message".source = pkgs.writeShellScript "shutdown-message" ''
|
systemd.shutdownRamfs.contents."/etc/systemd/system-shutdown/shutdown-message".source = pkgs.writeShellScript "shutdown-message" ''
|
||||||
echo "${msg}"
|
echo "${msg}"
|
||||||
'';
|
'';
|
||||||
|
boot.initrd.systemd.enable = systemdStage1;
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
|
|
Loading…
Reference in a new issue