| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # ChromeOS version information | 7 # ChromeOS version information |
| 8 # | 8 # |
| 9 # This file is usually sourced by other build scripts, but can be run | 9 # This file is usually sourced by other build scripts, but can be run |
| 10 # directly to see what it would do. | 10 # directly to see what it would do. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 # Sets the codename to the user who built the image. This | 66 # Sets the codename to the user who built the image. This |
| 67 # will help us figure out who did the build if a different | 67 # will help us figure out who did the build if a different |
| 68 # person is debugging the system. | 68 # person is debugging the system. |
| 69 export CHROMEOS_VERSION_CODENAME="$USER" | 69 export CHROMEOS_VERSION_CODENAME="$USER" |
| 70 | 70 |
| 71 export CHROMEOS_VERSION_NAME="Chromium OS" | 71 export CHROMEOS_VERSION_NAME="Chromium OS" |
| 72 export CHROMEOS_VERSION_TRACK="developer-build" | 72 export CHROMEOS_VERSION_TRACK="developer-build" |
| 73 export CHROMEOS_VERSION_AUSERVER="http://$HOSTNAME:8080/update" | 73 export CHROMEOS_VERSION_AUSERVER="http://$HOSTNAME:8080/update" |
| 74 export CHROMEOS_VERSION_DEVSERVER="http://$HOSTNAME:8080" | 74 export CHROMEOS_VERSION_DEVSERVER="http://$HOSTNAME:8080" |
| 75 # Overwrite CHROMEOS_VERSION_PATCH with a date string for use by auto-updater | 75 # Overwrite CHROMEOS_VERSION_PATCH with a date string for use by auto-updater |
| 76 export CHROMEOS_VERSION_PATCH=$(date +%Y%m%d%H%M) | 76 export CHROMEOS_VERSION_PATCH=$(date +%Y_%m_%d_%H%M) |
| 77 fi | 77 fi |
| 78 | 78 |
| 79 # Version string. Not indentied to appease bash. | 79 # Version string. Not indentied to appease bash. |
| 80 export CHROMEOS_VERSION_STRING=\ | 80 export CHROMEOS_VERSION_STRING=\ |
| 81 "${CHROMEOS_VERSION_MAJOR}.${CHROMEOS_VERSION_MINOR}"\ | 81 "${CHROMEOS_VERSION_MAJOR}.${CHROMEOS_VERSION_MINOR}"\ |
| 82 ".${CHROMEOS_VERSION_BRANCH}.${CHROMEOS_VERSION_PATCH}" | 82 ".${CHROMEOS_VERSION_BRANCH}.${CHROMEOS_VERSION_PATCH}" |
| 83 | 83 |
| 84 # Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild | 84 # Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild |
| 85 # URL to chrome archive | 85 # URL to chrome archive |
| 86 export CHROME_BASE= | 86 export CHROME_BASE= |
| 87 # directory containing chrome-chromeos.zip - an svn rev or a full version | 87 # directory containing chrome-chromeos.zip - an svn rev or a full version |
| 88 export CHROME_BUILD= | 88 export CHROME_BUILD= |
| 89 | 89 |
| 90 # Print version info. | 90 # Print version info. |
| 91 echo "ChromeOS version information:" | 91 echo "ChromeOS version information:" |
| 92 env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /' | 92 env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /' |
| OLD | NEW |