witherspoon: Use first-boot-set-mac

Use the new first-boot-set-mac recipe from the openpower layer for
setting the mac address on first boot.  This replaces
obmc-mgr-inventory's sync_inventory_items.py script that achieves the
same - but is the last remaining requirement for python on Witherspoon
systems and first-boot-set-mac is shell!

Tested-By: Built a witherspoon image and manually verified the root
           filesystem included a symlink to first-boot-set-mac@.service
           in /etc.
Change-Id: Ib0ced58f7f6d712cb4ffb7bd062d28e727b5dcb1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-witherspoon/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend b/meta-witherspoon/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend
deleted file mode 100644
index 0165929..0000000
--- a/meta-witherspoon/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend
+++ /dev/null
@@ -1,24 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-INSTANCES = "motherboard/uuid motherboard/bmc/ethernet"
-ITEMS_FMT = "system/chassis/{0}"
-
-ITEMS = "${@compose_list(d, 'ITEMS_FMT', 'INSTANCES')}"
-
-ENV_FILES = "obmc/sync_inventory_item/{0}"
-SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENV_FILES', 'ITEMS')}"
-
-TMPL = "obmc-sync-inventory-item@.service"
-TGT = "multi-user.target"
-
-ETH_SVC = "system-chassis-motherboard-bmc-ethernet.service"
-UUID_SVC = "system-chassis-motherboard-uuid.service"
-
-ETH_DROPIN_DIR = "obmc-sync-inventory-item@${ETH_SVC}.d"
-UUID_DROPIN_DIR = "obmc-sync-inventory-item@${UUID_SVC}.d"
-
-SYSTEMD_OVERRIDE_${PN} += "mac_sync_inventory.conf:${ETH_DROPIN_DIR}/mac_sync_inventory.conf"
-SYSTEMD_OVERRIDE_${PN} += "uuid_sync_inventory.conf:${UUID_DROPIN_DIR}/uuid_sync_inventory.conf"
-
-SYSTEMD_LINK_${PN} += "../${TMPL}:${TGT}.wants/obmc-sync-inventory-item@${ETH_SVC}"
-SYSTEMD_LINK_${PN} += "../${TMPL}:${TGT}.wants/obmc-sync-inventory-item@${UUID_SVC}"
diff --git a/meta-witherspoon/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-witherspoon/recipes-phosphor/images/obmc-phosphor-image.bbappend
index bea352f..aa7e786 100644
--- a/meta-witherspoon/recipes-phosphor/images/obmc-phosphor-image.bbappend
+++ b/meta-witherspoon/recipes-phosphor/images/obmc-phosphor-image.bbappend
@@ -1 +1 @@
-OBMC_IMAGE_EXTRA_INSTALL_append = " mboxd max31785-msl phosphor-msl-verify liberation-fonts uart-render-controller"
+OBMC_IMAGE_EXTRA_INSTALL_append = " mboxd max31785-msl phosphor-msl-verify liberation-fonts uart-render-controller first-boot-set-mac"
diff --git a/meta-witherspoon/recipes-phosphor/network/first-boot-set-mac_%.bbappend b/meta-witherspoon/recipes-phosphor/network/first-boot-set-mac_%.bbappend
new file mode 100644
index 0000000..29d23c8
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/network/first-boot-set-mac_%.bbappend
@@ -0,0 +1 @@
+SYSTEMD_SERVICE_${PN} += "first-boot-set-mac@eth0.service"