passing CHROMEOS_RELEASE_APPID to the PASSTHRU list into chroot

Change-Id: Ib5296eb4d3eea6d2430cde04d855ccbefd507bf4

BUG=
TEST=

Review URL: http://codereview.chromium.org/5132002
This commit is contained in:
Raja Aluri 2010-11-17 15:03:00 -08:00
parent dc4a6446e9
commit 8f2a9950b9

View File

@ -278,10 +278,8 @@ setup_env
# Use git:8 chars of sha1
REVISION=$(cd ${FLAGS_trunk}/src/scripts ; git rev-parse --short=8 HEAD)
CHROOT_PASSTHRU="CHROMEOS_REVISION=$REVISION BUILDBOT_BUILD=$FLAGS_build_number CHROMEOS_OFFICIAL=$CHROMEOS_OFFICIAL"
# Adding OEM AU APPID to CHROOT_PASSTHRU
CHROOT_PASSTHRU="CHROMEOS_RELEASE_APPID=${CHROMEOS_RELEASE_APPID:-"{DEV-BUILD}"}\
${CHROOT_PASSTHRU}"
CHROOT_PASSTHRU="${CHROOT_PASSTHRU} \
CHROMEOS_RELEASE_APPID=${CHROMEOS_RELEASE_APPID:-"{DEV-BUILD}"}"
if [ -d "$HOME/.subversion" ]; then
# Bind mounting .subversion into chroot