blob: c76a3936551246f82d41dcd69755ab1634898cb8 [file] [log] [blame]
Andrew Geissler9ca8a112022-04-07 16:18:47 -05001[Unit]
2Description=Reset pvm_sys_dump_active back to Disabled
3Wants=xyz.openbmc_project.biosconfig_manager.service
4After=xyz.openbmc_project.biosconfig_manager.service
5After=op-enter-mpreboot@%i.service
6After=obmc-host-reset@%i.target
7ConditionPathExists=!/run/openbmc/host@%i-on
8ConditionPathExists=!/run/openbmc/mpreboot@%i
9
10[Service]
11Restart=no
12Type=oneshot
13ExecStart=/bin/sh -c \
14 "busctl set-property xyz.openbmc_project.BIOSConfigManager \
15 /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager \
Andrew Geissler03eaa3e2022-05-02 15:27:19 -040016 PendingAttributes a{s\\(sv\\)} 1 pvm_sys_dump_active \
Andrew Geissler9ca8a112022-04-07 16:18:47 -050017 xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration s Disabled"
18
Deepa Karthikeyan3f97eaa2023-08-03 01:16:10 -050019#The corresponding bitbake recipe will do the actual installation
Andrew Geissler9ca8a112022-04-07 16:18:47 -050020[Install]
Deepa Karthikeyan3f97eaa2023-08-03 01:16:10 -050021#WantedBy=multi-user.target
22#WantedBy=obmc-host-quiesce@%i.target