nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore
For unknown reasons, switching to a system that first introduces this service has it fail with /sys/fs/pstore already having been mounted.master
parent
673aea9f84
commit
ef991f9b8b
|
@ -321,6 +321,7 @@ in
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
|
ConditionPathIsMountPoint = "!/sys/fs/pstore";
|
||||||
ConditionVirtualization = "!container";
|
ConditionVirtualization = "!container";
|
||||||
DefaultDependencies = false; # needed to prevent a cycle
|
DefaultDependencies = false; # needed to prevent a cycle
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue