xref: /openbmc/phosphor-bmc-code-mgmt/bmc/static/obmc-flash-bmc-prepare-for-sync.service.in (revision cab87e9cdeeb3e166d6d577511f6be4dc7721aca)
1[Unit]
2Description=Prepare sync for static dual image layout
3Requires=xyz.openbmc_project.Software.Sync.service
4Before=xyz.openbmc_project.Software.Sync.service
5
6[Service]
7Type=oneshot
8RemainAfterExit=yes
9ExecStart=-/usr/bin/obmc-flash-bmc static-altfs jffs2 alt-rwfs rwfs-alt
10ExecStart=-/usr/bin/sync-once.sh
11
12[Install]
13WantedBy=xyz.openbmc_project.Software.Sync.service
14