diff options
author | Paul Taysom <taysom@chromium.org> | 2013-07-12 17:22:10 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-24 12:09:45 -0700 |
commit | f5c62bd7dc1ef3d76d6e5f9119ad73ec95a926d7 (patch) | |
tree | ac25610d1049f232e76d60c3a6599e4616f1dc21 /scripts | |
parent | 472d93c146403c0f95b656e182b972e15ff11835 (diff) | |
download | vboot-f5c62bd7dc1ef3d76d6e5f9119ad73ec95a926d7.tar.gz |
Fixed sign_official_build.sh to work with PARTUUID
Fixed sign_official_build.sh to work with PARTUUID in the linux format,
PARTUUID=%U/PARTNROFF=1. Had to handle the '/'.
Also fixed a misspelled variable name, devcie -> device. It worked
before because a NULL string generated the right results in the
current configuration.
BUG=chromium:224066
TEST=~/trunk/src/platform/vboot_reference/scripts/image_signing/sign_official_build.sh recovery /home/taysom/trunk/src/build/images/$B/latest/recovery_image.bin /home/taysom/trunk/src/platform/vboot_reference/tests/devkeys /tmp/taysom.bin
BRANCH=none
Change-Id: Id201885a63c6eba4cdb7c9216c0d3d35e6d3f0c4
Reviewed-on: https://gerrit.chromium.org/gerrit/61889
Tested-by: Paul Taysom <taysom@chromium.org>
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Commit-Queue: Paul Taysom <taysom@chromium.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/image_signing/sign_official_build.sh | 2 |
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 492dd15b..53b94832 100755 --- a/scripts/image_signing/sign_official_build.sh +++ b/scripts/image_signing/sign_official_build.sh @@ -154,7 +154,7 @@ set_dm_slave() { local device=$2 local slave=$3 echo $(echo "${dm}" | - sed -nre "s/(.*${devcie}[^,]*,)([^,]*)(.*)/\1${slave}\3/p") + sed -nre "s#(.*${device}[^,]*,)([^,]*)(.*)#\1${slave}\3#p") } CALCULATED_KERNEL_CONFIG= |