blob: aaeb897e2bba31f0b603a26e20ae80aaafc5a188 [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=-/sbin/fsck.ext4 -p /dev/disk/by-partlabel/hostfw
ExecStart=-/bin/mount PARTLABEL=hostfw @MEDIA_DIR@/hostfw -t ext4
[Install]
WantedBy=xyz.openbmc_project.Software.BMC.Updater.service