blob: 10537d7cd49c213decbeb0e6043dd4d1d2a4e989 [file] [log] [blame]
Adriana Kobylak10e915a2019-05-31 13:25:36 -05001[Unit]
2Description=Enable the clearing of the Volatile PNOR partitions in host%I
Andrew Geisslerad5b73c2020-07-09 10:39:24 -05003Wants=mapper-wait@-org-open_power-control-volatile.service
Adriana Kobylak10e915a2019-05-31 13:25:36 -05004After=mapper-wait@-org-open_power-control-volatile.service
5Before=obmc-flash-bios-check-clearvolatile@%i.service
6ConditionPathExists=!/run/openbmc/host@%i-on
7
8[Service]
9Type=oneshot
10RemainAfterExit=no
11ExecStart=/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"
12SyslogIdentifier=obmc-flash-bios-enable-clearvolatile
13
14[Install]
15RequiredBy=obmc-host-start@%i.target