From e891eea06fdd36e89947a0387553a5bd2493322a Mon Sep 17 00:00:00 2001 From: Raja Aluri Date: Tue, 16 Nov 2010 20:12:56 -0800 Subject: [PATCH] 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 --- enter_chroot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/enter_chroot.sh b/enter_chroot.sh index 3ca59bf9e7..c256e33037 100755 --- a/enter_chroot.sh +++ b/enter_chroot.sh @@ -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"