|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 21/36] ts-xtf-install: Install python symlink
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.perard@xxxxxxxxxx>
---
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |