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.
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: I2d3379b9eec6aa50e6a0694aefdd0a766642a4b3
diff --git a/recipes-phosphor/network/phosphor-network_%.bbappend b/recipes-phosphor/network/phosphor-network_%.bbappend
index 178a921..76e440b 100644
--- a/recipes-phosphor/network/phosphor-network_%.bbappend
+++ b/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}