Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: scripts/image_signing/ensure_no_password.sh

Issue 6322006: Fix typo in ensure no password script (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # abort on error 7 # abort on error
8 set -e 8 set -e
9 9
10 # Load common constants and variables. 10 # Load common constants and variables.
11 . "$(dirname "$0")/common.sh" 11 . "$(dirname "$0")/common.sh"
12 12
13 if [ $# -ne 1 ]; then 13 if [ $# -ne 1 ]; then
14 echo "Usage $0 <image>" 14 echo "Usage $0 <image>"
15 exit 1 15 exit 1
16 fi 16 fi
17 17
18 IMAGE=$1 18 IMAGE=$1
19 ROOTFS=$(make_temp_dir) 19 ROOTFS=$(make_temp_dir)
20 mount_image_partition_ro "$IMAGE" 3 "$ROOTFS" 20 mount_image_partition_ro "$IMAGE" 3 "$ROOTFS"
21 21
22 if ! no_chronos_password $rootfs; then 22 if ! no_chronos_password $ROOTFS; then
23 echo "chronos password is set! Shouldn't be for release builds." 23 echo "chronos password is set! Shouldn't be for release builds."
24 exit 1 24 exit 1
25 fi 25 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698