Jiping Ma c031a990f2 Debian: modify crashDumpMgr to adapt to the vmcore name format.
This commit modifies crashDumpMgr to support the current vmcore name
format for debian.

They are dmesg.202206101633 and dump.202206101633 in Debian.
They are vmcore-dmesg.txt and vmcore in CentOS.

Test Plan:
PASS: Image builds successfully.
PASS: vmcore are put to /var/log/crash successfully.
PASS: Create dump files manually in /var/crash with the format of
      CentOS, then run the crashDumpMgr.
PASS: Create dump files manually in /var/crash with the format of
      Debian, then run the crashDumpMgr.

Story: 2009964
Task: 45629

Depends-On: https://review.opendev.org/c/starlingx/integ/+/845883

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: Ic540f7004a4fffd3ce7c008968ac10dca4d1c4d0
2022-06-17 11:31:29 -04:00
..