summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2021-09-15 20:42:03 +0300
committerAndrew Geissler <geissonator@yahoo.com>2021-10-07 21:28:28 +0300
commitb1b0159896c0995e225ca024b7fea56bc6e6c42a (patch)
treeb407a353aefeee9e395f2437d4772e818e0dc3c7 /meta-ibm
parent93c203f3a38be7db9cd7bb6b4954f3eb655acc8e (diff)
downloadopenbmc-b1b0159896c0995e225ca024b7fea56bc6e6c42a.tar.xz
meta-ibm: Tacoma uses witherspoon machine's JSON configs
The `witherspoon-tacoma` machine utilizes the same JSON config files as the `witherspoon` machine so override the PKG_DEFAULT_MACHINE variable for tacoma to be set to the witherspoon machine name "witherspoon". This will then install the witherspoon machine JSON config files into the tacoma image. Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: I6ce40547ebe536ca149930c439b0ee21d66061fb
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
index f9b26135f..a6d0357b0 100644
--- a/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
+++ b/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
@@ -67,3 +67,7 @@ FAN_PACKAGES:append:p10bmc = " sensor-monitor"
# file that's used for witherspoon type(including witherspoon-tacoma) machines
SYSTEMD_SUBSTITUTIONS:witherspoon = "ADDR:100:phosphor-fan-control@.service"
SYSTEMD_SUBSTITUTIONS:witherspoon-tacoma = "ADDR:200:phosphor-fan-control@.service"
+
+# Set the PKG_DEFAULT_MACHINE name to "witherspoon" for tacoma so witherspoon's
+# JSON config files are installed on tacoma machines (since they use the same ones)
+PKG_DEFAULT_MACHINE:witherspoon-tacoma = "witherspoon"