build_image: add full version python symlinks

In order to support #!/usr/bin/python2.7, we need symlinks in /usr/bin
for the full Python versions, not just python2.  Install symlinks for
all versions that the sysroot has available.

BUG=chromium:942276, chromium:701955
TEST=precq passes

Change-Id: Iee03e3f0b99100c196d2c907d72629ea840314db
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/1524456
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
1 file changed