summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-10-25 14:04:57 -0600
committerCommit Bot <commit-bot@chromium.org>2019-10-26 08:33:33 +0000
commit9c35c41b6c2f515714d609eb1458c50e89f2be48 (patch)
tree006f74ac81d11c19bf18f2296e33872b1c0e59f0
parent9d683f60244f95caf8662d6545fae574fe134bce (diff)
downloadvboot-9c35c41b6c2f515714d609eb1458c50e89f2be48.tar.gz
tofactory.sh: remove usage of "mosys vpd" command
No platforms support vpd in mosys anymore, so this will always fail. Drop the warning message and let the user extract it from the BIOS backup if they need. BUG=chromium:990438 BRANCH=none TEST=verified no platform offers cmd_vpd in mosys Change-Id: I5550724f13120202775245cfd252c988edd5b21f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1881473 Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-xscripts/image_signing/tofactory.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/image_signing/tofactory.sh b/scripts/image_signing/tofactory.sh
index 1871c384..c975ae5e 100755
--- a/scripts/image_signing/tofactory.sh
+++ b/scripts/image_signing/tofactory.sh
@@ -89,12 +89,6 @@ make_backups() {
cp "$OLD_BIOS" "$FLAGS_backup_dir/$FLAGS_asset_tag.bios.bin"
${FLASHROM_EC} -r "$FLAGS_backup_dir/$FLAGS_asset_tag.ec.bin"
- # Copy the VPD info from RAM, since we can't extract it as text
- # from the BIOS binary. Failure of this is only a warning, since
- # the information is still in the old BIOS.
- mosys vpd print all > "$FLAGS_backup_dir/$FLAGS_asset_tag.vpd.txt" ||
- echo "WARNING: unable to save VPD as text."
-
# Copy the first part of the drive, so we can recreate the partition
# table.
local gpt_backup="$FLAGS_backup_dir/$FLAGS_asset_tag.gpt.bin"