blob: cfb1c9d322cdf6d372821a21d0a95ff09bd018c3 [file] [log] [blame]
[Unit]
Description=Mount the alt partitions for static layout systems
Wants=xyz.openbmc_project.Software.BMC.Updater.service
Before=xyz.openbmc_project.Software.BMC.Updater.service
[Service]
Type=oneshot
RemainAfterExit=no
# The alt flash may be empty or contain invalid data so the mount could fail.
# So prepend with `-` to ignore such failures
ExecStart=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt
ExecStart=-/usr/bin/detect-slot-aspeed
[Install]
WantedBy=multi-user.target