commit | e661c8902b673cf29c641ce6dd63709dc412c357 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Feb 23 14:21:29 2022 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu Feb 24 17:32:41 2022 +0000 |
tree | 6daa99f684b18ce51a6005b6f2d62ca2020c6a3c | |
parent | 60ec12dbc13cb828b139de7750cb85c9f1f2b264 [diff] |
meta-google: inplace-gbmc-update: Exit while updating We don't want to accidentally notify or continue on with the DHCP netboot process until after the updated image is installed. Change-Id: I05504632950566694e9dd60b25bd85c99b588f90 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-phosphor/flash/inplace-gbmc-update/75-inplace-gbmc-upgrade.sh b/meta-google/recipes-phosphor/flash/inplace-gbmc-update/75-inplace-gbmc-upgrade.sh index df4662f..95c4ca5 100644 --- a/meta-google/recipes-phosphor/flash/inplace-gbmc-update/75-inplace-gbmc-upgrade.sh +++ b/meta-google/recipes-phosphor/flash/inplace-gbmc-update/75-inplace-gbmc-upgrade.sh
@@ -36,6 +36,9 @@ systemctl start inplace-gbmc-verify || return echo 'Rebooting to perform update' >&2 reboot || return + # Ensure that we don't "complete" the netboot process until + # after the update completes + exit 0 } inplace_gbmc_upgrade=1