Rename FFDC SOL.txt to BMC_obmc-console.log
The name /tmp/SOL.txt conflicts with the legitimate name SOL.txt used
for serial over LAN console logging.
Change-Id: If3849c50d09459f9bb987720e94eed3958603bd4
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 4e62954..06f7e5d 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -45,7 +45,7 @@
'BMC_procinfo': 'cat /proc/cpuinfo >/tmp/BMC_procinfo.txt 2>&1',
'BMC_meminfo': 'cat /proc/meminfo >/tmp/BMC_meminfo.txt 2>&1',
'BMC_systemd': 'systemctl status --all >/tmp/BMC_systemd.txt 2>&1',
- 'SOL': 'cat /var/log/obmc-console.log >/tmp/SOL.txt 2>&1',
+ 'BMC_obmc_console': 'cat /var/log/obmc-console.log >/tmp/BMC_obmc_console.txt 2>&1',
},
}
# Add file name and correcponding command needed for all Linux distributions
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index 42b3a35..2af265f 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -203,7 +203,7 @@
\ ${ffdc_file_list}= Smart Combine Lists ${ffdc_file_list}
... ${ffdc_file_sub_list}
- BMC Execute Command rm -rf /tmp/BMC_* /tmp/SOL.txt
+ BMC Execute Command rm -rf /tmp/BMC_*
scp.Close Connection
[Return] ${ffdc_file_list}