meta-google: ramoops: specify dmesg file name
Pmsg type will generate pmsg-, which will be used by kdump, this is to
let this service not processing the core file.
Change-Id: Ida4f8038a07ccea4be659cd734acc1a7d5c86e59
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
diff --git a/meta-google/recipes-google/systemd/files/gbmc-log-ramoops.service b/meta-google/recipes-google/systemd/files/gbmc-log-ramoops.service
index 27aba05..84369e3 100644
--- a/meta-google/recipes-google/systemd/files/gbmc-log-ramoops.service
+++ b/meta-google/recipes-google/systemd/files/gbmc-log-ramoops.service
@@ -2,7 +2,7 @@
Type=oneshot
SyslogIdentifier=gbmc-log-ramoops
SyslogLevelPrefix=true
-ExecStart=/usr/bin/find /sys/fs/pstore -name '*-*' -print -exec cat {} \; -exec rm -f {} \;
+ExecStart=/usr/bin/find /sys/fs/pstore -name 'dmesg-*' -print -exec cat {} \; -exec rm -f {} \;
[Install]
WantedBy=multi-user.target