blob: cfb1c9d322cdf6d372821a21d0a95ff09bd018c3 [file] [log] [blame]
Lei YU63769642021-12-10 16:15:04 +08001[Unit]
2Description=Mount the alt partitions for static layout systems
3Wants=xyz.openbmc_project.Software.BMC.Updater.service
4Before=xyz.openbmc_project.Software.BMC.Updater.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
Lei YU531fbc22021-12-10 20:03:18 +080013ExecStart=-/usr/bin/detect-slot-aspeed
Lei YU63769642021-12-10 16:15:04 +080014
15[Install]
16WantedBy=multi-user.target