From 5f0751e6edd357ea97646b94c67d5628f6a031ca Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Tue, 23 Mar 2010 13:51:19 -0700 Subject: [PATCH] Modifies image so that devs can tell immediately whether their build is a test build Review URL: http://codereview.chromium.org/1201001 --- mod_for_test_scripts/001changeBuildName | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 mod_for_test_scripts/001changeBuildName diff --git a/mod_for_test_scripts/001changeBuildName b/mod_for_test_scripts/001changeBuildName new file mode 100755 index 0000000000..c7ffc24151 --- /dev/null +++ b/mod_for_test_scripts/001changeBuildName @@ -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