Merge pull request #123902 from hyperfekt/mount-pstore-quiet
nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore (cherry picked from commit d7555732bc8bb8a2acb50fd4ecba96c825b4f21e) Reason: activation throws an error from failing to start the unit
This commit is contained in:
parent
075ab49dc2
commit
1c1e5094d9
|
@ -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