mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/systemd-repart: fix factory-reset test for systemd 261
In 261, this will break, adding an additional ordering will make the test more likely to succeed. However, it is still fundamentally flakey and ultimately kind of broken upstream.
This commit is contained in:
parent
dcc0364575
commit
f99d235cb3
1 changed files with 5 additions and 1 deletions
|
|
@ -303,10 +303,14 @@ in
|
|||
systemd = {
|
||||
enable = true;
|
||||
# avoids reaching cryptsetup.target before recreation of the
|
||||
# "state" volume completed, during the factory reset
|
||||
# "state" volume completed, during the factory reset and tries to
|
||||
# ensure that devices are retriggered before trying to work with them.
|
||||
services.systemd-repart.before = [
|
||||
"systemd-cryptsetup@state.service"
|
||||
];
|
||||
services.systemd-factory-reset-complete.before = [
|
||||
"systemd-cryptsetup@state.service"
|
||||
];
|
||||
repart = {
|
||||
enable = true;
|
||||
extraArgs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue