Update FFDC YAML file for OPENBMC General section
Changes:
- The Shell commands executed in groups are not getting
logged in the output saved. Split the commands helped.
Change-Id: Ia456a7aa99a4bfb72d459b4cf0e7cfae1ecde49a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_config.yaml b/ffdc/ffdc_config.yaml
index 6b1e352..68bf0d9 100644
--- a/ffdc/ffdc_config.yaml
+++ b/ffdc/ffdc_config.yaml
@@ -27,11 +27,14 @@
- 'echo -e "\n++++++++++ cat /etc/timestamp ++++++++++" >> /tmp/%s_general.txt 2>&1'
- 'cat /etc/timestamp >> /tmp/%s_general.txt 2>&1'
- 'echo -e "\n++++++++++ uptime;cat /proc/uptime ++++++++++" >> /tmp/%s_general.txt 2>&1'
- - 'uptime;cat /proc/uptime >> /tmp/%s_general.txt 2>&1'
+ - 'uptime >> /tmp/%s_general.txt 2>&1'
+ - 'cat /proc/uptime >> /tmp/%s_general.txt 2>&1'
- 'echo -e "\n++++++++++ df -hT ++++++++++" >> /tmp/%s_general.txt 2>&1'
- 'df -hT >> /tmp/%s_general.txt 2>&1'
- 'echo -e "\n++++++++++ date;/sbin/hwclock --show ++++++++++" >> /tmp/%s_general.txt 2>&1'
- - 'date;/sbin/hwclock --show;/usr/bin/timedatectl >> /tmp/%s_general.txt 2>&1'
+ - 'date >> /tmp/%s_general.txt 2>&1'
+ - '/sbin/hwclock --show >> /tmp/%s_general.txt 2>&1'
+ - '/usr/bin/timedatectl >> /tmp/%s_general.txt 2>&1'
- 'echo -e "\n++++++++++ /usr/bin/obmcutil state ++++++++++" >> /tmp/%s_general.txt 2>&1'
- '/usr/bin/obmcutil state >> /tmp/%s_general.txt 2>&1'
FILES: