pfr-manager: add rsyslog dependency to pfr service

Issue: Some pfr-manager events during BMC bootup were missed in Redfish
Event logs as rsyslog.service was not started by then.

Fix: add a rsyslog dependency in pfr service for logs to sync.

Tested:
1. dediprog flash the corrupted BIOS image and AC on.
2. Events are logged in Redfish Event logs
Command: GET: https://<BMC_IP>/redfish/v1/Systems/system/LogServices/
              EventLog/Entries
Response:
{
            "@odata.id": "/redfish/v1/Systems/system/LogServices/
                          EventLog/Entries/1616702159",
            "@odata.type": "#LogEntry.v1_4_0.LogEntry",
            "Created": "2021-03-25T19:55:59+00:00",
            "EntryType": "Event",
            "Id": "1616702159",
            "Message": "BIOS firmware recovery occurred due to BIOS
                        active image authentication failure.",
            "MessageArgs": [
                "BIOS active image authentication failure"
            ],
            "MessageId": "OpenBMC.0.1.BIOSFirmwareRecoveryReason",
            "Name": "System Event Log Entry",
            "Severity": "Warning"
        },
        {
            "@odata.id": "/redfish/v1/Systems/system/LogServices/
                         EventLog/Entries/1616702159_1",
            "@odata.type": "#LogEntry.v1_4_0.LogEntry",
            "Created": "2021-03-25T19:55:59+00:00",
            "EntryType": "Event",
            "Id": "1616702159_1",
            "Message": "BIOS firmware resiliency error. Error reason:
             BIOS image authentication failed(MinorCode:0x01).",
            "MessageArgs": [
                "BIOS image authentication failed(MinorCode:0x01)"
            ],
            "MessageId": "OpenBMC.0.1.BIOSFirmwareResiliencyError",
            "Name": "System Event Log Entry",
            "Severity": "Critical"
        }

Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com>
Change-Id: Ic05e9f67436b7ce0e6f6c97a5b77dc1ce62efeab
1 file changed