commit | 8fe218a0ec92f3a788ecd5e68eb84e02a2ec7d75 | [log] [tgz] |
---|---|---|
author | Yuxiao Zhang <yuxiaozhang@google.com> | Thu Mar 30 15:55:30 2023 -0700 |
committer | Yuxiao Zhang <yuxiaozhang@google.com> | Tue Apr 11 16:15:12 2023 +0000 |
tree | 3ad01616ad9e0a70415402e8bbcb5719e425068d | |
parent | 4b4958048b30f5f9d3163dc1b7e53b359e5e94aa [diff] |
meta-google: dhcp-done: switching to new dhcp-done service We want to coordinate with netboot server for powercycling instead of triggering pwercycle ourselves. dhcp-done will send status based on the parameters to the netboot server. This is the first part, second part needs to be merged after installer support Change-Id: I4ebaaf06114fc36518a25cdc6cd9f093859963c8 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
diff --git a/meta-google/recipes-google/networking/dhcp-done_git.bb b/meta-google/recipes-google/networking/dhcp-done_git.bb index 5732033..12e3903 100644 --- a/meta-google/recipes-google/networking/dhcp-done_git.bb +++ b/meta-google/recipes-google/networking/dhcp-done_git.bb
@@ -6,7 +6,7 @@ inherit systemd -SYSTEMD_SERVICE:${PN} += "dhcp-done.service" +SYSTEMD_SERVICE:${PN} += "dhcp-done@.service" DEPENDS += " \ sdeventplus \
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 f4ac5a5..6557125 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
@@ -76,5 +76,5 @@ # Ensure that the installer knows we have completed processing DHCP by # running a service that reports completion echo 'Start DHCP Done' >&2 - systemctl start dhcp-done --no-block + systemctl start dhcp-done@DONE --no-block fi