pstore: Don't start systemd-pstore.service in containers

Usually it is not useful and can also fail making
boot-and-services autopkgtest fail.
This commit is contained in:
Balint Reczey 2019-12-16 19:03:19 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 81eb5bc5cc
commit 287f506c32

View file

@ -11,6 +11,7 @@
Description=Platform Persistent Storage Archival
Documentation=man:systemd-pstore(8)
ConditionDirectoryNotEmpty=/sys/fs/pstore
ConditionVirtualization=!container
DefaultDependencies=no
Wants=systemd-remount-fs.service
After=systemd-remount-fs.service