diff options
| author | Lei YU <mine260309@gmail.com> | 2019-02-22 17:35:24 +0800 |
|---|---|---|
| committer | Lei YU <mine260309@gmail.com> | 2019-03-13 11:01:53 +0800 |
| commit | a2e67163d22c69a3f1870737d6d49ccf2d04c450 (patch) | |
| tree | 938d51d51877cde4e41a3d1cf482be292eb34254 /openpower-pnor-update@.service | |
| parent | b53425d44b49fc494750d46a1fe4050ecd3db434 (diff) | |
| download | openpower-pnor-code-mgmt-a2e67163d22c69a3f1870737d6d49ccf2d04c450.tar.gz openpower-pnor-code-mgmt-a2e67163d22c69a3f1870737d6d49ccf2d04c450.zip | |
Static layout: Implement PNOR code update
Implement the PNOR code update by pflash tool in openpower-pnor-update
service, and update the related associations.
Tested: Verify PNOR code update succeeds.
Change-Id: I53781d6420071200ac2ed6837f7a79bf5e1162c2
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'openpower-pnor-update@.service')
| -rw-r--r-- | openpower-pnor-update@.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openpower-pnor-update@.service b/openpower-pnor-update@.service new file mode 100644 index 000000000..b1db21935 --- /dev/null +++ b/openpower-pnor-update@.service @@ -0,0 +1,9 @@ +[Unit] +Description=Update PNOR %I + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=/usr/sbin/pflash -E -f -p %I +SyslogIdentifier=pflash + |

