commit | 793f51c53f7e0c6ff1662c0efcff0bfe1f61e0cd | [log] [tgz] |
---|---|---|
author | Zhongze Hu <frankhu@google.com> | Tue Jun 06 18:52:23 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Jun 15 20:24:32 2017 |
tree | ecfbf9636634ca6efab431a930c0d308f84f089c | |
parent | 3cd8fe58f994440d2e5e6238e45611b9f2dc709c [diff] |
Use logging instead of printf in sis fw updater Use libbrillo syslog_logging to save logs. By default, the log will be save to /var/log/messages. It can also be print to stdout or write to a particular file. BUG=None TEST=Built chrome os image and verified on chrome box. Change-Id: I14a1bb12a4c9130a30dda1d40298399dd3a4e50d Reviewed-on: https://chromium-review.googlesource.com/526298 Commit-Ready: Zhongze Hu <frankhu@google.com> Tested-by: Zhongze Hu <frankhu@google.com> Reviewed-by: Simon Que <sque@chromium.org>
The code was proviced by SiS and modified by Google. Modifications include:
On Linux, should run as root.
At the root of the repository: make
.
Under Chrome OS development enviroment: emerge-${BOARD} sis-updater
.
Just run ./sis-updater
.