blob: 5cd8565f56303f2b49f9458203ee4f0cc8c9fd6a [file] [log] [blame]
Adriana Kobylake9939492017-07-11 11:34:23 -05001[Unit]
Adriana Kobylak1fa612c2017-08-17 21:56:14 -05002Description=Store read-only images %I to BMC storage
Saqib Khan2c281662017-08-31 14:47:40 -05003OnFailure=obmc-flash-bmc-ubiro-remove@%i.service
Adriana Kobylake9939492017-07-11 11:34:23 -05004
5[Service]
6Type=oneshot
7RemainAfterExit=no
Saqib Khan7e4a3f22017-09-12 09:23:28 -05008ExecStartPre=/usr/bin/env obmc-flash-bmc createenvbackup
Michael Tritzfbd81be2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env obmc-flash-bmc ubiro {RO_MTD} rofs-%i %i
10ExecStart=/usr/bin/env obmc-flash-bmc ubikernel {KERNEL_MTD} kernel-%i %i
Adriana Kobylak1fa612c2017-08-17 21:56:14 -050011ExecStart=/usr/bin/env obmc-flash-bmc mtduboot u-boot %i
Michael Tritzfbd81be2017-08-15 14:07:23 -050012SyslogIdentifier=obmc-flash-bmc