phosphor-dbus-interfaces: Add PrettyName and Log fields for fault log interface patch Ported from https://gbmc-internal-review.git.corp.google.com/c/meta-google-gbmc/+/311969 to put in meta-gbmc-staging instead. This patch adds the PrettyName and Log entries into the phosphor-dbus-interfaces. Google-Bug-Id: 548715074 Tested: https://paste.googleplex.com/4842358326820864 Fusion-Link: fusion2 n/a this is not tested by fusion Change-Id: I01b7ab421355c0a51ce8065958fa5af3fdb01c4d Signed-off-by: David Tang <davtang@google.com>
diff --git a/recipes-phosphor/dbus/phosphor-dbus-interfaces/0001-Add-PrettyName-and-Log-fields-for-FaultLog-interface.patch b/recipes-phosphor/dbus/phosphor-dbus-interfaces/0001-Add-PrettyName-and-Log-fields-for-FaultLog-interface.patch new file mode 100644 index 0000000..be996dc --- /dev/null +++ b/recipes-phosphor/dbus/phosphor-dbus-interfaces/0001-Add-PrettyName-and-Log-fields-for-FaultLog-interface.patch
@@ -0,0 +1,35 @@ +From 748b1e2b170d070956115772ed840104ddf3e3be Mon Sep 17 00:00:00 2001 +From: David Tang <davtang@google.com> +Date: Wed, 19 Aug 2026 20:57:28 +0000 +Subject: [PATCH] Add PrettyName and Log fields for FaultLog interface yaml + +Signed-off-by: David Tang <davtang@google.com> +--- + .../Dump/Entry/FaultLog.interface.yaml | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml b/yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml +index 08b33a8..217d6a2 100644 +--- a/yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml ++++ b/yaml/xyz/openbmc_project/Dump/Entry/FaultLog.interface.yaml +@@ -23,3 +23,16 @@ properties: + be programatically interpreted (e.g. string parsing) + flags: + - const ++ - name: PrettyName ++ type: string ++ description: > ++ The name of the log entry. This is how we distinguish whether it is ++ CPU or RP. ++ flags: ++ - const ++ - name: Log ++ type: string ++ description: > ++ The full file path at which the file is stored at. ++ flags: ++ - const +\ No newline at end of file +-- +2.55.0.737.g08866a6d13-goog +
diff --git a/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend b/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend index 7947d0e..e4af7aa 100644 --- a/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend +++ b/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend
@@ -14,6 +14,7 @@ file://0001-Add-Host-interface-BootCount-and-StatusCode.patch \ file://0001-phosphor-dbus-interfaces-add-IliadCPER-as-a-FaultLog.patch \ file://0002-phosphor-dbus-interfaces-add-MetisCPER-as-a-FaultLog.patch \ + file://0001-Add-PrettyName-and-Log-fields-for-FaultLog-interface.patch \ " EXTRA_OEMESON += " \