ts-xtf-run does run ./xtf-runner, which run `python` in its shebang. So install a `python` symlink to `python3`.
Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> --- ts-xtf-install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts-xtf-install b/ts-xtf-install index a64fd329..fea737ff 100755 --- a/ts-xtf-install +++ b/ts-xtf-install @@ -28,6 +28,11 @@ $whhost ||= 'host'; our $ho= selecthost($whhost); +sub packages () { + if ($ho->{Suite} !~ m/wheezy|jessie|stretch|buster/) { + target_install_packages($ho, qw(python-is-python3)); + } +} sub extract () { my %distpath; @@ -35,4 +40,5 @@ sub extract () { $r{xtfbuildjob}, \%distpath); } +packages(); extract(); -- Anthony PERARD