summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorXo Wang <xow@google.com>2017-03-17 18:21:52 -0700
committerPatrick Williams <patrick@stwcx.xyz>2017-04-09 12:00:59 +0000
commita450877c2635bf7ddb384beeb43a61bfde519166 (patch)
tree34cc89f737b16d839a2300c96ecb4f64d1b299cb /meta-openbmc-machines
parent49abd7e85f349a795e9eb9be65bdb8ac0da43897 (diff)
downloadtalos-openbmc-a450877c2635bf7ddb384beeb43a61bfde519166.tar.gz
talos-openbmc-a450877c2635bf7ddb384beeb43a61bfde519166.zip
meta-zaius: Boot host automatically
Add override for the default "powerpolicy" loaded from the settings YAML to ALWAYS_POWER_ON. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib753636c616c8f403f9656fa3aa3540e219b7e4a
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend2
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/powerpolicy-default-ALWAYS_POWER_ON.override.yml5
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend
new file mode 100644
index 000000000..5a54204fb
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_append_zaius := ":${THISDIR}/${PN}"
+SRC_URI_append_zaius = " file://powerpolicy-default-ALWAYS_POWER_ON.override.yml"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/powerpolicy-default-ALWAYS_POWER_ON.override.yml b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/powerpolicy-default-ALWAYS_POWER_ON.override.yml
new file mode 100644
index 000000000..75f0f2bcb
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/powerpolicy-default-ALWAYS_POWER_ON.override.yml
@@ -0,0 +1,5 @@
+---
+org.openbmc.settings.Host:
+ settings:
+ powerpolicy:
+ default: "ALWAYS_POWER_ON"
OpenPOWER on IntegriCloud