From 7e2d05d7ff211c09e482758a448d7e4a604192b6 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 12 Feb 2022 15:36:05 -0800 Subject: 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 --- meta-google/recipes-google/networking/gbmc-bridge.bb | 1 + meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.sh | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'meta-google') diff --git a/meta-google/recipes-google/networking/gbmc-bridge.bb b/meta-google/recipes-google/networking/gbmc-bridge.bb index 509d871d9b..bc3b51367f 100644 --- a/meta-google/recipes-google/networking/gbmc-bridge.bb +++ b/meta-google/recipes-google/networking/gbmc-bridge.bb @@ -33,6 +33,7 @@ FILES:${PN}:append = " \ 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 e2701d4588..1a6c71af1b 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 @@ EOF 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 -- cgit v1.2.3