meta-google: gbmc-bridge: Run service when DHCP completes

This makes it possible for our installation service to determine when
the BMC is ready to continue after DHCP.

Change-Id: I62f31c39a9d5849d18f81ab58c88e9e5ef4b9737
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/networking/gbmc-bridge.bb b/meta-google/recipes-google/networking/gbmc-bridge.bb
index 509d871..bc3b513 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge.bb
+++ b/meta-google/recipes-google/networking/gbmc-bridge.bb
@@ -33,6 +33,7 @@
 
 RDEPENDS:${PN}:append = " \
   bash \
+  dhcp-done \
   gbmc-ip-monitor \
   mstpd-mstpd \
   network-sh \
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.sh b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.sh
index e2701d4..1a6c71a 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.sh
+++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.sh
@@ -98,4 +98,8 @@
   fi
 
   gbmc_br_dhcp_run_hooks || exit
+
+  # Ensure that the installer knows we have completed processing DHCP by
+  # running a service that reports completion
+  systemctl start dhcp-done --no-block
 fi