Lei YU | 6376964 | 2021-12-10 16:15:04 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Mount the alt partitions for static layout systems |
| 3 | Wants=xyz.openbmc_project.Software.BMC.Updater.service |
| 4 | Before=xyz.openbmc_project.Software.BMC.Updater.service |
| 5 | |
| 6 | [Service] |
| 7 | Type=oneshot |
| 8 | RemainAfterExit=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 |
| 12 | ExecStart=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt |
Lei YU | 531fbc2 | 2021-12-10 20:03:18 +0800 | [diff] [blame] | 13 | ExecStart=-/usr/bin/detect-slot-aspeed |
Lei YU | 6376964 | 2021-12-10 16:15:04 +0800 | [diff] [blame] | 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |