xref: /openbmc/phosphor-bmc-code-mgmt/bmc/static/obmc-flash-bmc-static-mount-alt.service.in (revision cab87e9cdeeb3e166d6d577511f6be4dc7721aca)
1[Unit]
2Description=Mount the alt partitions for static layout systems
3Before=xyz.openbmc_project.Software.BMC.Updater.service
4Before=xyz.openbmc_project.Software.Manager.service
5
6[Service]
7Type=oneshot
8RemainAfterExit=no
9
10# The alt flash may be empty or contain invalid data so the mount could fail.
11# So prepend with `-` to ignore such failures
12ExecStart=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt
13ExecStart=-/usr/bin/detect-slot-aspeed
14
15[Install]
16WantedBy=multi-user.target
17