summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2022-04-30 01:40:07 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-05 09:03:23 +0000
commitc059f03ac296d9d439a87887e4dbd1e3494840d1 (patch)
treeddf296ce963c49a268ebcf88054f6f92930d649f
parent53491084865df3620193304d896d048c1acf5882 (diff)
downloadvboot-c059f03ac296d9d439a87887e4dbd1e3494840d1.tar.gz
futility: updater: fix a typo in the SETVARS variable name
The PATH_ENDSWITH_SERVARS should be PATH_ENDSWITH_SETVARS. BUG=None TEST=make; run test BRANCH=None Signed-off-by: Hung-Te Lin <hungte@chromium.org> Change-Id: I2fd8ab9fe9accf185bc85b2a195e90a9863669bf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3615696 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
-rw-r--r--futility/updater_archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/futility/updater_archive.c b/futility/updater_archive.c
index 11b4be1e..58774fc4 100644
--- a/futility/updater_archive.c
+++ b/futility/updater_archive.c
@@ -85,7 +85,7 @@ static const char * const SETVARS_IMAGE_MAIN = "IMAGE_MAIN",
* const VPD_CUSTOMIZATION_ID = "customization_id",
* const ENV_VAR_MODEL_DIR = "${MODEL_DIR}",
* const PATH_STARTSWITH_KEYSET = "keyset/",
- * const PATH_ENDSWITH_SERVARS = "/setvars.sh";
+ * const PATH_ENDSWITH_SETVARS = "/setvars.sh";
struct archive {
void *handle;
@@ -791,7 +791,7 @@ static int manifest_scan_entries(const char *name, void *arg)
if (str_startswith(name, PATH_STARTSWITH_KEYSET))
manifest->has_keyset = 1;
- if (!str_endswith(name, PATH_ENDSWITH_SERVARS))
+ if (!str_endswith(name, PATH_ENDSWITH_SETVARS))
return 0;
/* name: models/$MODEL/setvars.sh */