From 371692ee0fecac6fae42c3629089289d5e032294 Mon Sep 17 00:00:00 2001 From: Potin Lai Date: Mon, 21 Nov 2022 19:24:57 +0800 Subject: 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 Change-Id: Ic55c5a11bea89618c429f855f2791e94e2c17a81 --- .../recipes-phosphor/network/phosphor-network_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) 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 \ " -- cgit v1.2.3