summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Chen <marcochen@chromium.org>2018-01-11 22:10:12 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-01-16 21:53:10 +0000
commit281b6e35a70d7d77b7b8232d5915078de3001acd (patch)
treebb82f2d13f87612ee60ba52c7a11019665841c81
parenta4926721e1d61c81acbdd3ccb69a9f6912215bb0 (diff)
downloadvboot-281b6e35a70d7d77b7b8232d5915078de3001acd.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> (cherry picked from commit fde7cdc134d66ff0ad1350901b716c4d7d158fa8) Reviewed-on: https://chromium-review.googlesource.com/868835 Reviewed-by: Shelley Chen <shchen@chromium.org> Commit-Queue: Shelley Chen <shchen@chromium.org> Tested-by: Shelley Chen <shchen@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}"