commit | 89e4f2bea06641590c34faa072393f4380a2a68b | [log] [tgz] |
---|---|---|
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | Thu Jul 18 16:52:49 2024 +0700 |
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | Mon Jul 22 02:03:21 2024 +0000 |
tree | 078378d8bf3388195c512b5e915f2138bc22a460 | |
parent | 68f27092a4ac60e6fc1b80e8c33701e783ec48de [diff] |
meta-ampere: networkd: move sync-mac option to common All Ampere platforms enable sync-mac option in phosphor-networkd so move the option enable to meta-ampere/meta-common. In addition, explicitly sets force-sync-mac=false so that MAC Address from FRU just set at first boot. Tested: 1. Check on Mt.Jade and Mt.Mitchell to have MAC Address from FRU at first boot. Change-Id: Ic5fefd7ca0c1df1ff6ab57c9ec7153abc011beff Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
diff --git a/meta-ampere/meta-common/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/network/phosphor-network_%.bbappend new file mode 100644 index 0000000..74a5fb2 --- /dev/null +++ b/meta-ampere/meta-common/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -0,0 +1,2 @@ +PACKAGECONFIG:append = " sync-mac" +EXTRA_OEMESON:append = " -Dforce-sync-mac=false"
diff --git a/meta-ampere/meta-jade/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-ampere/meta-jade/recipes-phosphor/network/phosphor-network_%.bbappend index 2f2ee59..43046ea 100644 --- a/meta-ampere/meta-jade/recipes-phosphor/network/phosphor-network_%.bbappend +++ b/meta-ampere/meta-jade/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -1,7 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PACKAGECONFIG:append = " sync-mac " - SRC_URI:append = " file://config.json " FILES:${PN} += "${datadir}/network/*.json"
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-ampere/meta-mitchell/recipes-phosphor/network/phosphor-network_%.bbappend index 2f2ee59..43046ea 100644 --- a/meta-ampere/meta-mitchell/recipes-phosphor/network/phosphor-network_%.bbappend +++ b/meta-ampere/meta-mitchell/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -1,7 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PACKAGECONFIG:append = " sync-mac " - SRC_URI:append = " file://config.json " FILES:${PN} += "${datadir}/network/*.json"