Enable IBM Config Flag Recipe Support for Networkd
- This commit enables the ibm-config flag for phosphor-networkd
service while compiling for IBM machines.
- ibm-config compilation flag would enable the configurable
Inventory-Interface Mapping JSON for setting the corresponding
MAC Address that are obtanined from the Inventory on to the
respective ethernet interface(s) during the first boot.
(From meta-ibm rev: 4b0db6e07d3207e256f01f2f34d144aa93950224)
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Fixed minor typo in commit message
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I31d284839969ea55f13165f5957c164b9b1f6ce8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-ibm/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-ibm/recipes-phosphor/network/phosphor-network_%.bbappend
index 178a921..76e440b 100644
--- a/meta-ibm/recipes-phosphor/network/phosphor-network_%.bbappend
+++ b/meta-ibm/recipes-phosphor/network/phosphor-network_%.bbappend
@@ -4,6 +4,8 @@
SYSTEMD_SERVICE_${PN} += " ncsi-netlink.service"
FILES_${PN} += "${datadir}/network/*.json"
+EXTRA_OECONF += "--enable-ibm-config"
+
install_network_configuration(){
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/ncsi-netlink.service ${D}${systemd_system_unitdir}