meta-google: networking: Prevent redundant dhcp reconfig during installation

We have seen that smartnic workaround is running after dhcp done.
If we see dhcp-done service running, no need to restart dhcp.

Change-Id: I83ad8bc376f6727ec98a4ce4b2e545d00a2b9c82
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
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 8a5c711..60ea0fb 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
@@ -7,6 +7,7 @@
 [Service]
 Restart=on-failure
 RestartSec=5
+ExecCondition=/bin/bash -c "! /bin/systemctl is-active -q dhcp-done@*"
 ExecStart=/usr/bin/udhcpc6 -f -q -O fqdn -O bootfile_url -O bootfile_param -i gbmcbr -s /usr/libexec/gbmc-br-dhcp.sh
 
 [Install]