summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-11-21 14:24:57 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-11-21 16:43:25 +0300
commit371692ee0fecac6fae42c3629089289d5e032294 (patch)
treec13d8147b24f7afe4be9791244f6c1f883dfc560
parentd7d4e62b3c466b3ef7846cf0dd3d014cc8072168 (diff)
downloadopenbmc-371692ee0fecac6fae42c3629089289d5e032294.tar.xz
meta-bletchley: phosphor-network: enable force-sync-mac option
For Bletchley, the flash is not embedded on the Chassis Controller Board (CCB), and the phosphor-network is only sync MAC address on first boot by default, the BMC may use the wrong MAC address after replacing the CCB. Enable the force-sync-mac option to ensure that the BMC loads the correct MAC address from the CCB on every boot. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ic55c5a11bea89618c429f855f2791e94e2c17a81
-rw-r--r--meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend
index b91e82f911..595088881b 100644
--- a/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend
+++ b/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -1,6 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PACKAGECONFIG:append = " sync-mac"
+
+EXTRA_OEMESON = "-Dforce-sync-mac=true"
+
SRC_URI += " \
file://config.json \
"