blob: 36316fdcf105c96f9d3bf14931378e37997337f7 [file] [log] [blame]
[Unit]
Description=Mount BMC rofs volumes after a reboot
Before=xyz.openbmc_project.Software.BMC.Updater.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/obmc-flash-bmc mmc-mount @MEDIA_DIR@
ExecStart=/bin/mkdir -p @MEDIA_DIR@/hostfw
ExecStart=-/bin/mount PARTLABEL=hostfw @MEDIA_DIR@/hostfw -t ext4
[Install]
WantedBy=xyz.openbmc_project.Software.BMC.Updater.service