pfr-manager: revert to last stable revision
This removes following three commits.
1) Revert "checkPfrPlatform: Fix for reading the Baseboard name"
This reverts commit ea670f519e8f30028f8730059e1ccd3779e8c1bc.
2) Revert "Fix: remove "intel-" prefix for binary"
This reverts commit 486b00ab8fe44416b915197b7f85f6bec154e283.
3) Revert "fix for false PFR ProvisioningStatus in redfish"
This reverts commit 019ad89d45eb953746766143f55f683f4b8b3d8d.
The checkPfrPlatform script has some stability issues due
to entity-manager and object mapper dependencies. Its
decided to move this logic to pfr-manager service which
also gives option for exposing CPLD version in PFR not
provisioned case.
This revision is already used in last release version.
Tested:
- This revision of code is used in last release version
and all kind of stress tested passed.
Change-Id: I3418585ac9bfe936c66f6fa8166c1e68a6d2ebda
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/xyz.openbmc_project.PFR.Manager.service b/xyz.openbmc_project.PFR.Manager.service
index f63acb6..100fc09 100644
--- a/xyz.openbmc_project.PFR.Manager.service
+++ b/xyz.openbmc_project.PFR.Manager.service
@@ -1,13 +1,14 @@
[Unit]
Description=Daemon manages PFR dbus properties and Event logs
-After=xyz.openbmc_project.EntityManager.service
-After=xyz.openbmc_project.ObjectMapper.service
[Service]
-Restart=on-failure
-ExecStart=/usr/bin/checkPfrPlatform.sh
+Restart=always
+ExecStart=/usr/bin/pfr-manager
RestartSec=5
StartLimitInterval=0
+SyslogIdentifier=pfr-manager
+Type=dbus
+BusName=xyz.openbmc_project.PFR.Manager
[Install]
WantedBy=multi-user.target