Merge pull request #123902 from hyperfekt/mount-pstore-quiet

nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore
This commit is contained in:
Guillaume Girol 2021-05-23 12:18:14 +00:00 committed by GitHub
commit d7555732bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,6 +321,7 @@ in
RemainAfterExit = true;
};
unitConfig = {
ConditionPathIsMountPoint = "!/sys/fs/pstore";
ConditionVirtualization = "!container";
DefaultDependencies = false; # needed to prevent a cycle
};