summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tung <shes050117@gmail.com>2023-05-17 14:12:18 +0300
committerTom Tung <shes050117@gmail.com>2023-05-18 03:20:16 +0300
commitc499e9c10f127ff1ae7c290eb8644d2c16cb4b39 (patch)
tree093e7b14324d3ed456383fec13091945ea562a8f
parent7f9f244771161e8c99befd153344f48986c7ed45 (diff)
downloadopenbmc-c499e9c10f127ff1ae7c290eb8644d2c16cb4b39.tar.xz
meta-google: gbmc-upgrade: use GBMC_TARGET_MACHINE
Signed-off-by: Tom Tung <shes050117@gmail.com> Change-Id: Ib4d3b942aa8821f70981dff0d16ff1d7f349697b
-rw-r--r--meta-google/recipes-phosphor/flash/gbmc-update/40-gbmc-upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/recipes-phosphor/flash/gbmc-update/40-gbmc-upgrade.sh b/meta-google/recipes-phosphor/flash/gbmc-update/40-gbmc-upgrade.sh
index ec9e06d6ae..f1ab3c5401 100644
--- a/meta-google/recipes-phosphor/flash/gbmc-update/40-gbmc-upgrade.sh
+++ b/meta-google/recipes-phosphor/flash/gbmc-update/40-gbmc-upgrade.sh
@@ -45,7 +45,7 @@ gbmc_upgrade_fetch() (
# Determine the path of the image file for the correct machine
# Our netboot can serve us images for multiple models
local machine
- machine="$(source /etc/os-release && echo "$OPENBMC_TARGET_MACHINE")" || return
+ machine="$(source /etc/os-release && echo "$GBMC_TARGET_MACHINE")" || return
# Ensure some sane output file limit
# Currently no BMC image is larger than 64M