diff options
author | Yuxiao Zhang <yuxiaozhang@google.com> | 2024-06-15 01:17:45 +0300 |
---|---|---|
committer | Yuxiao Zhang <yuxiaozhang@google.com> | 2024-07-24 23:02:59 +0300 |
commit | 32b568131cb5696db1d57b5d331b5f1a7f9245ed (patch) | |
tree | 77d45c63b387dce0c20b8d01d4da60d4e1441431 /meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service | |
parent | 112eefd4622709d57fd3db071560afb91ea21a66 (diff) | |
download | openbmc-32b568131cb5696db1d57b5d331b5f1a7f9245ed.tar.xz |
google-misc: srcrev bump 177e7270dc..1e76060a37
Yuxiao Zhang (1):
meta-google: dhcp-done: Adding status report
Do the srcbump and add other status report changes (otherwise the build will be broken).
Tested: try bmc upgrade with old/new bmc versions, all passed and status
is correctly reported.
Change-Id: Iafdb611ef80f1e4790f1512a7b8b48b8b9baa535
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
Diffstat (limited to 'meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service')
-rw-r--r-- | meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service index 60ea0fb9ea..c361181452 100644 --- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service +++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service @@ -1,13 +1,14 @@ [Unit] Description=gBMC DHCP Client -After=network.target +After=network.target dhcp-done.service +Wants=dhcp-done.service StartLimitIntervalSec=10 StartLimitBurst=3 [Service] Restart=on-failure RestartSec=5 -ExecCondition=/bin/bash -c "! /bin/systemctl is-active -q dhcp-done@*" +ExecStartPre=/usr/bin/update-dhcp-status 'ONGOING' 'Starting dhcp process' ExecStart=/usr/bin/udhcpc6 -f -q -O fqdn -O bootfile_url -O bootfile_param -i gbmcbr -s /usr/libexec/gbmc-br-dhcp.sh [Install] |