blob: 44d152f4f64e6a3317456c373a04805628bffbc7 [file] [log] [blame]
Adriana Kobylaka8eb7812019-04-23 14:48:58 -05001[Unit]
2Description=Store read-only images %I to BMC storage
3OnFailure=obmc-flash-bmc-ubiro-remove@%i.service
4
5[Service]
6Type=oneshot
7RemainAfterExit=no
8ExecStartPre=/usr/bin/obmc-flash-bmc createenvbackup
9ExecStart=/usr/bin/obmc-flash-bmc ubiro {RO_MTD} rofs-%i %i
10ExecStart=/usr/bin/obmc-flash-bmc ubikernel {KERNEL_MTD} kernel-%i %i
11ExecStart=/usr/bin/obmc-flash-bmc mtduboot u-boot %i