blob: ba60f09eab101a2970c81184e2c95cf8bee1b917 [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
13
14[Install]
15WantedBy=multi-user.target