summaryrefslogtreecommitdiffstats
path: root/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-check-clearvolatile@.service
blob: af66b4db9bde6f05388dcbcf568df335fa5079fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Clear the Volatile PNOR partitions in host%i if Enabled
After=obmc-flash-bios-enable-clearvolatile@%i.service
Before=obmc-host-start-pre@%i.target
ConditionPathExists=!/run/openbmc/host@%i-on

[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/env obmc-flash-bios clearvolatile
SyslogIdentifier=obmc-flash-bios-check-clearvolatile

[Install]
RequiredBy=obmc-host-startmin@%i.target
OpenPOWER on IntegriCloud