From bf893c277f5e0bb0d132a43b4ab974e7b5e611da Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 5 Feb 2013 18:17:59 -0800 Subject: [PATCH] fix(make_chroot): default to using python 2.7 the stage3 has python3 which is terrible, don't do that. Change-Id: I24f82c8eb59ff7c2953033d233d32bb0f959d8da --- sdk_lib/make_chroot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index a79e89be5d..0dfd69091d 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -426,6 +426,11 @@ echo STAGE3=$STAGE3 > $CHROOT_STATE info "Updating portage" early_enter_chroot emerge -uNv --quiet portage +info "Install python-2.7" +early_enter_chroot emerge -uNv --quiet python:2.7 dev-python/setuptools +early_enter_chroot eselect python set python2.7 + + # Packages that inherit cros-workon commonly get a circular dependency # curl->openssl->git->curl that is broken by emerging an early version of git # without curl (and webdav that depends on it).