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;
|
||||
};
|
||||
unitConfig = {
|
||||
ConditionPathIsMountPoint = "!/sys/fs/pstore";
|
||||
ConditionVirtualization = "!container";
|
||||
DefaultDependencies = false; # needed to prevent a cycle
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue