Add new error types
Add ImageFailure and BusyFailure for error reporting.
Rerun elog-errors script to generate error data.
Change-Id: I1f9ec4766d510abe612db2453dcf36325c7dd2f4
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/xyz/openbmc_project/Software/Image.errors.yaml b/xyz/openbmc_project/Software/Image.errors.yaml
index 67d6c20..2b8f7ee 100644
--- a/xyz/openbmc_project/Software/Image.errors.yaml
+++ b/xyz/openbmc_project/Software/Image.errors.yaml
@@ -4,3 +4,8 @@
description: An error when reading the Manifest file.
- name: InternalFailure
description: The operation failed internally during processing the image.
+- name: ImageFailure
+ description: An error occured processing the image.
+- name: BusyFailure
+ description: The device is busy during the update.
+
diff --git a/xyz/openbmc_project/Software/Image.metadata.yaml b/xyz/openbmc_project/Software/Image.metadata.yaml
index 5e749c9..7456e0a 100644
--- a/xyz/openbmc_project/Software/Image.metadata.yaml
+++ b/xyz/openbmc_project/Software/Image.metadata.yaml
@@ -13,3 +13,16 @@
meta:
- str: "FAIL=%s"
type: string
+- name: ImageFailure
+ level: ERR
+ meta:
+ - str: "FAIL=%s"
+ type: string
+ - str: "PATH=%s"
+ type: string
+- name: BusyFailure
+ level: ERR
+ meta:
+ - str: "PATH=%s"
+ type: string
+