1*cab87e9cSJagpal Singh Gill[Unit] 2*cab87e9cSJagpal Singh GillDescription=Mount the alt partitions for static layout systems 3*cab87e9cSJagpal Singh GillBefore=xyz.openbmc_project.Software.BMC.Updater.service 4*cab87e9cSJagpal Singh GillBefore=xyz.openbmc_project.Software.Manager.service 5*cab87e9cSJagpal Singh Gill 6*cab87e9cSJagpal Singh Gill[Service] 7*cab87e9cSJagpal Singh GillType=oneshot 8*cab87e9cSJagpal Singh GillRemainAfterExit=no 9*cab87e9cSJagpal Singh Gill 10*cab87e9cSJagpal Singh Gill# The alt flash may be empty or contain invalid data so the mount could fail. 11*cab87e9cSJagpal Singh Gill# So prepend with `-` to ignore such failures 12*cab87e9cSJagpal Singh GillExecStart=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt 13*cab87e9cSJagpal Singh GillExecStart=-/usr/bin/detect-slot-aspeed 14*cab87e9cSJagpal Singh Gill 15*cab87e9cSJagpal Singh Gill[Install] 16*cab87e9cSJagpal Singh GillWantedBy=multi-user.target 17