meta-ieisystems: fp5280g3: settings: add applyTime configuration
We need to reboot BMC immediately after upgrading the FP5280G3
firmware.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I10894553852fbd936168f598e28cfaaa6694a8bf
diff --git a/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager/applyTime.override.yml b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager/applyTime.override.yml
new file mode 100644
index 0000000..c1dd14b
--- /dev/null
+++ b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager/applyTime.override.yml
@@ -0,0 +1,5 @@
+/xyz/openbmc_project/software/apply_time:
+ - Interface: xyz.openbmc_project.Software.ApplyTime
+ Properties:
+ RequestedApplyTime:
+ Default: ApplyTime::RequestedApplyTimes::Immediate
diff --git a/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
new file mode 100644
index 0000000..e603990
--- /dev/null
+++ b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append = " file://applyTime.override.yml"