summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Chen <marcochen@chromium.org>2018-01-11 22:10:12 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-12 05:49:45 -0800
commitfde7cdc134d66ff0ad1350901b716c4d7d158fa8 (patch)
tree1a377ced1a2c2031362b39c25f306d28e6b870f3
parent965c77f9d0f676c9964ca180720c08a15bd55745 (diff)
downloadvboot-fde7cdc134d66ff0ad1350901b716c4d7d158fa8.tar.gz
image_signing: Fix the wrong output to VERSION.signer.
The helper function - info redirects msg to stderr and appends some backslash escapes so 1. it can't be redirected to VERSION.signer via stdout again. 2. Even if change to stderr, we also don't want these appended msg. BUG=chromium:760879 TEST==~/trunk/src/platform/vboot_reference/scripts/image_signing/sign_official_build.sh recovery ../build/images/coral/latest/recovery_image.bin ../platform/vboot_reference/tests/devkeys BRANCH=None Change-Id: I46d560fb4cb93756fd02e32412410afb3a4db0e2 Reviewed-on: https://chromium-review.googlesource.com/861694 Commit-Ready: Marco Chen <marcochen@chromium.org> Tested-by: Marco Chen <marcochen@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-xscripts/image_signing/sign_official_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh
index 5c16a900..bba33e23 100755
--- a/scripts/image_signing/sign_official_build.sh
+++ b/scripts/image_signing/sign_official_build.sh
@@ -723,7 +723,7 @@ resign_firmware_payload() {
local signer_notes="${shellball_dir}/VERSION.signer"
echo "" >"$signer_notes"
- info "Signed with keyset in $(readlink -f "${KEY_DIR}") ." >>"${signer_notes}"
+ echo "Signed with keyset in $(readlink -f "${KEY_DIR}") ." >>"${signer_notes}"
new_shellball=$(make_temp_file)
cp -f "${firmware_bundle}" "${new_shellball}"