Adriana Kobylak | e993949 | 2017-07-11 11:34:23 -0500 | [diff] [blame] | 1 | [Unit] |
Adriana Kobylak | 1fa612c | 2017-08-17 21:56:14 -0500 | [diff] [blame] | 2 | Description=Store read-only images %I to BMC storage |
Adriana Kobylak | e993949 | 2017-07-11 11:34:23 -0500 | [diff] [blame] | 3 | |
| 4 | [Service] |
| 5 | Type=oneshot |
| 6 | RemainAfterExit=no |
Adriana Kobylak | e2fd46d | 2017-09-05 12:38:19 -0500 | [diff] [blame^] | 7 | ExecStartPre=/usr/bin/env obmc-flash-bmc preupdate |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 8 | ExecStart=/usr/bin/env obmc-flash-bmc ubiro {RO_MTD} rofs-%i %i |
| 9 | ExecStart=/usr/bin/env obmc-flash-bmc ubikernel {KERNEL_MTD} kernel-%i %i |
Adriana Kobylak | 1fa612c | 2017-08-17 21:56:14 -0500 | [diff] [blame] | 10 | ExecStart=/usr/bin/env obmc-flash-bmc mtduboot u-boot %i |
Adriana Kobylak | e2fd46d | 2017-09-05 12:38:19 -0500 | [diff] [blame^] | 11 | ExecStartPost=/usr/bin/env obmc-flash-bmc postupdate %i |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 12 | SyslogIdentifier=obmc-flash-bmc |