diff options
author | Hung-Te Lin <hungte@chromium.org> | 2018-10-26 12:42:03 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-29 11:21:43 -0700 |
commit | b01c83f68118c6d026c31a80aae99b329cb0df4f (patch) | |
tree | 6fa2da70b0844585dd311faf86565423ea119aca | |
parent | e156d3a3ec014d148009a1fe4e2fe97d5560d66e (diff) | |
download | vboot-b01c83f68118c6d026c31a80aae99b329cb0df4f.tar.gz |
futility: updater: Fix model detection error
In mosys, $(mosys platform name) currently returns the board (family) name
while the real model name needs $(mosys platform model).
BUG=chromium:875551
TEST=TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility
BRANCH=None
Change-Id: Ie3355ca94d577e88a2140567b9284da40c0b39c5
Reviewed-on: https://chromium-review.googlesource.com/1301013
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | futility/updater_archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/futility/updater_archive.c b/futility/updater_archive.c index eaf745cc..1c8030b7 100644 --- a/futility/updater_archive.c +++ b/futility/updater_archive.c @@ -804,7 +804,7 @@ const struct model_config *manifest_find_model(const struct manifest *manifest, model = &manifest->models[0]; if (!model && !model_name) { - sys_model_name = host_shell("mosys platform name"); + sys_model_name = host_shell("mosys platform model"); DEBUG("System model name: '%s'", sys_model_name); model_name = sys_model_name; } |