blob: aaeb897e2bba31f0b603a26e20ae80aaafc5a188 [file] [log] [blame]
Adriana Kobylakd7fbc1e2020-06-06 07:46:40 -05001[Unit]
2Description=Mount BMC rofs volumes after a reboot
3Before=xyz.openbmc_project.Software.BMC.Updater.service
4
5[Service]
6Type=oneshot
7RemainAfterExit=no
Adriana Kobylak1e81f232022-01-18 22:28:47 +00008ExecStart=/usr/bin/obmc-flash-bmc mmc-mount @MEDIA_DIR@
Adriana Kobylak8c5209d2020-07-12 13:35:47 -05009ExecStart=/bin/mkdir -p @MEDIA_DIR@/hostfw
Adriana Kobylakdcfadad2023-05-23 20:41:38 +000010ExecStart=-/sbin/fsck.ext4 -p /dev/disk/by-partlabel/hostfw
Adriana Kobylak8c5209d2020-07-12 13:35:47 -050011ExecStart=-/bin/mount PARTLABEL=hostfw @MEDIA_DIR@/hostfw -t ext4
Adriana Kobylakd7fbc1e2020-06-06 07:46:40 -050012
13[Install]
14WantedBy=xyz.openbmc_project.Software.BMC.Updater.service