| # Copyright 2019 The Chromium OS Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| # Set Python 3 as the default implementation. | |
| sudo eselect python update | |
| # Install the new symlinks. This is normally handled only when the SDK is | |
| # first created. | |
| sudo ln -sfT /mnt/host/source/chromite \ | |
| /usr/lib64/python3.6/site-packages/chromite | |
| # Sanity check. | |
| python -c 'import sys; assert sys.version_info.major >= 3' |