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/google-misc/google-misc.inc b/meta-google/recipes-google/google-misc/google-misc.inc
index df7e79b..1198065 100644
--- a/meta-google/recipes-google/google-misc/google-misc.inc
+++ b/meta-google/recipes-google/google-misc/google-misc.inc
@@ -6,7 +6,7 @@
LIC_FILES_CHKSUM = "file://../../LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
SRC_URI += "git://github.com/openbmc/google-misc;branch=master;protocol=https"
-SRCREV = "273640137fb68c352babd03e77018d426d7cc93c"
+SRCREV = "5ca20ffedd60cf6b25eec734a1ac340b6f60e015"
S = "${WORKDIR}/git/subprojects/${GOOGLE_MISC_PROJ}"
inherit meson pkgconfig
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