Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: chromeos_version.sh

Issue 5760004: Added option to set ChromeOS version name, track and AU/dev server URLs via environment variables (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Removed echo in CHROOT_PASSTHRU change that shouldn't have been there Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | enter_chroot.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos_version.sh
diff --git a/chromeos_version.sh b/chromeos_version.sh
index 0540c3ab7f5294a1490bd7cbd472766690653266..0677b02d09a560840e2bcb2080f50875de82e812 100755
--- a/chromeos_version.sh
+++ b/chromeos_version.sh
@@ -57,10 +57,10 @@ then
# person is debugging the system.
export CHROMEOS_VERSION_CODENAME="$USER"
- export CHROMEOS_VERSION_NAME="Chromium OS"
- export CHROMEOS_VERSION_TRACK="buildbot-build"
- export CHROMEOS_VERSION_AUSERVER="http://$HOSTNAME:8080/update"
- export CHROMEOS_VERSION_DEVSERVER="http://$HOSTNAME:8080"
+ export CHROMEOS_VERSION_NAME=${CHROMEOS_VERSION_NAME:-"Chromium OS"}
+ export CHROMEOS_VERSION_TRACK=${CHROMEOS_VERSION_TRACK:-"buildbot-build"}
+ export CHROMEOS_VERSION_AUSERVER=${CHROMEOS_VERSION_AUSERVER:-"http://$HOSTNAME:8080/update"}
+ export CHROMEOS_VERSION_DEVSERVER=${CHROMEOS_VERSION_DEVSERVER:-"http://$HOSTNAME:8080"}
else
# Developer hand-builds
# Sets the codename to the user who built the image. This
@@ -68,10 +68,10 @@ else
# person is debugging the system.
export CHROMEOS_VERSION_CODENAME="$USER"
- export CHROMEOS_VERSION_NAME="Chromium OS"
- export CHROMEOS_VERSION_TRACK="developer-build"
- export CHROMEOS_VERSION_AUSERVER="http://$HOSTNAME:8080/update"
- export CHROMEOS_VERSION_DEVSERVER="http://$HOSTNAME:8080"
+ export CHROMEOS_VERSION_NAME=${CHROMEOS_VERSION_NAME:-"Chromium OS"}
+ export CHROMEOS_VERSION_TRACK=${CHROMEOS_VERSION_TRACK:-"developer-build"}
+ export CHROMEOS_VERSION_AUSERVER=${CHROMEOS_VERSION_AUSERVER:-"http://$HOSTNAME:8080/update"}
+ export CHROMEOS_VERSION_DEVSERVER=${CHROMEOS_VERSION_DEVSERVER:-"http://$HOSTNAME:8080"}
# Overwrite CHROMEOS_VERSION_PATCH with a date string for use by auto-updater
export CHROMEOS_VERSION_PATCH=$(date +%Y_%m_%d_%H%M)
fi
« no previous file with comments | « no previous file | enter_chroot.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698