commit | 5ba7176ca2755080e35daba0b5417386abf17f6d | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Thu Jun 06 07:32:39 2019 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Wed Jun 12 05:20:03 2019 -0500 |
tree | 8e67df585b56603ce948aa73871a1bac165117e9 | |
parent | fa180596fe2a3c6fe65e48055e02e0c3e4ef5977 [diff] |
Fix dreport os-release script point to a symbolic link The os-release file in the dump points to a symbolic link rather than the actual release details. As "cp -r" command is used to copy the contents of a symbolic link file, it copies the link rather than the actual file. Modified to use cp command to copy the contents of the file Tested: before fix root@witherspoon:/tmp# mkdir test1 root@witherspoon:/tmp# cp -r /etc/os-release test1/ root@witherspoon:/tmp# ls -la test1/ drwxr-xr-x 2 root root 60 Jun 6 12:27 . drwxrwxrwt 13 root root 320 Jun 6 12:26 .. lrwxrwxrwx 1 root root 21 Jun 6 12:27 os-release -> ../usr/lib/os-release after fix root@witherspoon:/tmp# mkdir test2 root@witherspoon:/tmp# cp /etc/os-release test2/ root@witherspoon:/tmp# ls -la test2/ -rw-r--r-- 1 root root 295 Jun 6 12:27 os-release Change-Id: I6980ffa40b925fb02be0bf53704d17ebc7995af0 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.