diff options
author | Hung-Te Lin <hungte@chromium.org> | 2018-11-09 09:41:03 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-11 13:00:55 -0800 |
commit | 48d08d76c3cee2fb4ea3a7d965c64550d02f3bbd (patch) | |
tree | 6ef2c52f0340eb7afff703ebbb7cbe5c21028163 /futility/updater.c | |
parent | 644bb1b079bed1c2ce370aa1a80a3e943ec78a56 (diff) | |
download | vboot-48d08d76c3cee2fb4ea3a7d965c64550d02f3bbd.tar.gz |
futility: updater: Add 'image.bin' as host image name in archive
The firmware updater archive is going to rename the prefix of host (AP)
firmware image from 'bios' to 'image' (CL:1318712), to be more
consistent with firmware package output. We need to include both old and
new names in updater manifest construction.
For --mode=output, we will produce both 'bios.bin' and 'image.bin'. In
future there should be only 'image.bin' after migration is completed.
BUG=b:65745723
TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility
BRANCH=None
Change-Id: I8b7e3bc2953b70525fb14fcf6aadaf6d1e00e4aa
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1327862
Diffstat (limited to 'futility/updater.c')
-rw-r--r-- | futility/updater.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/futility/updater.c b/futility/updater.c index dcd37bf6..fe488b0d 100644 --- a/futility/updater.c +++ b/futility/updater.c @@ -2055,7 +2055,9 @@ int updater_setup_config(struct updater_config *cfg, const char *r = arg->output_dir; if (!r) r = "."; + /* TODO(hungte) Remove bios.bin when migration is done. */ errorcnt += updater_output_image(&cfg->image, "bios.bin", r); + errorcnt += updater_output_image(&cfg->image, "image.bin", r); errorcnt += updater_output_image(&cfg->ec_image, "ec.bin", r); errorcnt += updater_output_image(&cfg->pd_image, "pd.bin", r); *do_update = 0; |