| Index: scripts/image_signing/cros_resign_image_standalone.sh
|
| diff --git a/scripts/image_signing/cros_resign_image_standalone.sh b/scripts/image_signing/cros_resign_image_standalone.sh
|
| index 523d5120950078178038e819de58b815f35f796a..81e6cdad681f94bd6c867d67e0621749d4c68aab 100755
|
| --- a/scripts/image_signing/cros_resign_image_standalone.sh
|
| +++ b/scripts/image_signing/cros_resign_image_standalone.sh
|
| @@ -9,6 +9,9 @@
|
|
|
| # Both the cgpt tool and vbutil_kernel should be in the system path.
|
|
|
| +# Abort on error
|
| +set -e
|
| +
|
| # Check arguments
|
| if [ $# -ne 4 ] ; then
|
| echo "usage: $0 src_bin dst_bin kernel_datakey kernel_keyblock"
|
| @@ -54,6 +57,3 @@ dd if="${temp_out_vb}" of="${dst_bin}" seek=$koffset bs=$sector_size \
|
|
|
| echo "New signed image was output to ${dst_bin}"
|
|
|
| -# Clean up temporary files
|
| -rm -f ${temp_kimage}
|
| -rm -f ${temp_out_vb}
|
|
|