commit | 596466b809154900dd12680724bd8827d9e7963c | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Feb 13 14:48:53 2018 -0600 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Tue Feb 13 15:41:27 2018 -0600 |
tree | 7316a571305c36277944b8f22a4e591dfc94add0 | |
parent | 2b2cd9f74e8e0158f93e3d4bb77346616c889698 [diff] |
Fix error logging - The logging interfaces don't support std::string, so need to pass c-strings to the metadata fields, or the pointer address will be the one added to the log. - Log the name of the file uploaded to the BMC instead of the manifest path when there is a manifest error. The manifest path is always /tmp/imgXXXX/MANIFEST which doesn't help debug. - Check the status of the child process after waitpid returns. The execl call returns when there was an error executing execl, not if the command executed failed. This will catch when tar returns a non-0 return code. Change-Id: Ia4bd2666fc6beec28dee7e821d959a336800d282 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To full clean the repository again run `./bootstrap.sh clean`.