passing CHROMEOS_RELEASE_APPID to the PASSTHRU list into chroot

Change-Id: I906f1959769ac9d7a2abc04827cad8f5201984de

BUG=chromeos:9168
TEST=Made sure that setting and unsetting this value and enter_chroot is honoring the pass thru setting.

Review URL: http://codereview.chromium.org/5008006
This commit is contained in:
Raja Aluri 2010-11-16 20:12:56 -08:00
parent 867fde26b7
commit e891eea06f

View File

@ -278,6 +278,11 @@ 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}"
if [ -d "$HOME/.subversion" ]; then
# Bind mounting .subversion into chroot
info "mounting ~/.subversion into chroot"