Fix chromite symlink in make_chroot

Gentoo's stage3 does not contain the python2.x. When make_chroot.sh tries to
create a link to chromite in /usr/lib/python2.*/site-packages/, the path doesn't
get expanded and chromite is not in the python path.

This CL moves the symlink creation until after we uninstall python3 and install
python 2.

BUG=None
TEST=cbuildbot local: chromite is in the path and can be used.
TEST=remote trybot on chromiumos-sdk

Change-Id: I9a3579f5e89ca85240e0d7cb97efe46d4b065b6b
Reviewed-on: https://chromium-review.googlesource.com/213270
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Bertrand Simonnet <bsimonnet@chromium.org>
Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org>
1 file changed