1[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
12