summaryrefslogtreecommitdiffstats
path: root/.travis/package_management/configure_deb_lxc_environment.py
diff options
context:
space:
mode:
Diffstat (limited to '.travis/package_management/configure_deb_lxc_environment.py')
-rwxr-xr-x.travis/package_management/configure_deb_lxc_environment.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis/package_management/configure_deb_lxc_environment.py b/.travis/package_management/configure_deb_lxc_environment.py
index 7606e292e2..4151c4f1af 100755
--- a/.travis/package_management/configure_deb_lxc_environment.py
+++ b/.travis/package_management/configure_deb_lxc_environment.py
@@ -91,6 +91,10 @@ if str(os.environ["BUILD_STRING"]).count("debian/buster") == 1:
common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.buster', 'contrib/debian/control'])
### Ubuntu
+if str(os.environ["BUILD_STRING"]).count("ubuntu/focal") == 1:
+ print("5.1 We are building for Xenial, adjusting control file")
+ common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control'])
+ common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.focal', 'contrib/debian/control'])
if str(os.environ["BUILD_STRING"]).count("ubuntu/xenial") == 1:
print("5.1 We are building for Xenial, adjusting control file")
common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control'])