OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 |
| 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 |
| 5 # found in the LICENSE file. |
| 6 |
| 7 # Remove the test label from lsb-release to prepare an image for |
| 8 # signing using the official keys. |
| 9 |
| 10 # Load common constants and variables. |
| 11 . "$(dirname "$0")/common.sh" |
| 12 |
| 13 set -e |
| 14 image=$1 |
| 15 |
| 16 rootfs=$(mktemp -d) |
| 17 mount_image_partition ${image} 3 ${rootfs} |
| 18 trap "umount -d ${rootfs}; rm -rf ${rootfs}" EXIT |
| 19 sed -i 's/test//' "${rootfs}/etc/lsb-release" |
OLD | NEW |