nixos/tests/systemd-repart: fix factory-reset test for systemd 261 (#534571)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user