meta-facebook: phosphor-network: rename config file
- Bletchley cannot apply the MAC address obtained from the FRU (stored in "/etc/systemd/nework/00-bmc-eth0.nework") because the file has a lower priority than the default setting "/usr/lib/systemd/network/00-bmc-eth.network".
- Fixed by renaming network default config file from "00-bmc-eth.network" to "01-bmc-eth.network".
Change-Id: If97068b026c0cdccbfffe14d940461f5bad7e81c
Signed-off-by: Yi-Shum <EasonChen1@quantatw.com>
diff --git a/meta-facebook/recipes-phosphor/network/phosphor-network/00-bmc-eth.network b/meta-facebook/recipes-phosphor/network/phosphor-network/01-bmc-eth.network
similarity index 100%
rename from meta-facebook/recipes-phosphor/network/phosphor-network/00-bmc-eth.network
rename to meta-facebook/recipes-phosphor/network/phosphor-network/01-bmc-eth.network
diff --git a/meta-facebook/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-facebook/recipes-phosphor/network/phosphor-network_%.bbappend
index b030ca6..a28f1ea 100644
--- a/meta-facebook/recipes-phosphor/network/phosphor-network_%.bbappend
+++ b/meta-facebook/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -1,12 +1,12 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
- file://00-bmc-eth.network \
+ file://01-bmc-eth.network \
"
-FILES:${PN}:append = " ${systemd_unitdir}/network/00-bmc-eth.network"
+FILES:${PN}:append = " ${systemd_unitdir}/network/01-bmc-eth.network"
do_install:append() {
install -d ${D}${systemd_unitdir}/network/
- install -m 0644 ${WORKDIR}/00-bmc-eth.network ${D}${systemd_unitdir}/network/00-bmc-eth.network
-}
\ No newline at end of file
+ install -m 0644 ${WORKDIR}/01-bmc-eth.network ${D}${systemd_unitdir}/network/01-bmc-eth.network
+}