Modifies image so that devs can tell immediately whether their build is a test build

Review URL: http://codereview.chromium.org/1201001
This commit is contained in:
Chris Sosa 2010-03-23 13:51:19 -07:00
parent a3557f06c2
commit 5f0751e6ed

View File

@ -0,0 +1,12 @@
#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Changes the description of the image for test builds so that developers
# can tell immediately if they have a test build vs. a developer build.
echo "Modifying Release Description for Test."
FILE="${ROOT_FS_DIR}/etc/lsb-release"
sed -i 's/Developer/Test/' $FILE