]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
hammer: fixed handling repos over https new-repo
authorMichal Nowikowski <godfryd@isc.org>
Wed, 26 Jun 2019 09:30:47 +0000 (11:30 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Thu, 27 Jun 2019 04:00:11 +0000 (00:00 -0400)
hammer.py

index a02c81913f2f09884c9ddff1002ffdf6c4ab2bfa..ea51e4aeabac5494649afb9fa14c8550a2ffd64d 100755 (executable)
--- a/hammer.py
+++ b/hammer.py
@@ -1502,6 +1502,9 @@ def _build_native_pkg(system, revision, features, tarball_path, env, check_times
         execute('mv rpm-root/RPMS/x86_64/*rpm pkgs', check_times=check_times, dry_run=dry_run)
 
     elif system in ['ubuntu', 'debian']:
+        if system == 'debian' and revision == '9':
+            # debian 9 does not support apt-installing over https, so install proper transport
+            install_pkgs('apt-transport-https', env=env, check_times=check_times)
         # install our freeradius-client but now from deb
         execute("echo 'deb %s kea main' | sudo tee /etc/apt/sources.list.d/isc.list" % repo_url)
         key_url = "%s/repository/repo-keys/repo-key.gpg" % repository_url