summaryrefslogtreecommitdiffstats
path: root/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-enable-clearvolatile@.service
blob: e040738c7fd3a55bee3eb2dff1b0a088f057d756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Enable the clearing of the Volatile PNOR partitions in host%i
After=mapper-wait@-org-open_power-control-volatile.service
Before=obmc-flash-bios-check-clearvolatile@%i.service
ConditionPathExists=!/run/openbmc/host@%i-on

[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/bin/sh -c "busctl set-property `mapper get-service /org/open_power/control/volatile` /org/open_power/control/volatile xyz.openbmc_project.Object.Enable Enabled b true"
SyslogIdentifier=obmc-flash-bios-enable-clearvolatile

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