blob: 5cd8565f56303f2b49f9458203ee4f0cc8c9fd6a [file] [log] [blame]
[Unit]
Description=Store read-only images %I to BMC storage
OnFailure=obmc-flash-bmc-ubiro-remove@%i.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStartPre=/usr/bin/env obmc-flash-bmc createenvbackup
ExecStart=/usr/bin/env obmc-flash-bmc ubiro {RO_MTD} rofs-%i %i
ExecStart=/usr/bin/env obmc-flash-bmc ubikernel {KERNEL_MTD} kernel-%i %i
ExecStart=/usr/bin/env obmc-flash-bmc mtduboot u-boot %i
SyslogIdentifier=obmc-flash-bmc