blob: 36316fdcf105c96f9d3bf14931378e37997337f7 [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 Kobylak8c5209d2020-07-12 13:35:47 -050010ExecStart=-/bin/mount PARTLABEL=hostfw @MEDIA_DIR@/hostfw -t ext4
Adriana Kobylakd7fbc1e2020-06-06 07:46:40 -050011
12[Install]
13WantedBy=xyz.openbmc_project.Software.BMC.Updater.service