]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2491] Add hammer support for alpine 3.16
authorDan Theisen <djt@isc.org>
Wed, 29 Jun 2022 21:23:25 +0000 (14:23 -0700)
committerDan Theisen <djt@isc.org>
Wed, 20 Jul 2022 11:24:54 +0000 (04:24 -0700)
ChangeLog
hammer.py

index 92820d6976c60ed2bb3d5484c439e6c88435520e..e04efe98592668e32dea07f1fb72cb93c0ee2cc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2040.  [func]          djt
+       Added support for Alpine 3.16 in hammer.py.
+       (Gitlab #2491)
+
 2039.  [doc]           andrei
        Updated limits hook library ARM documentation to reflect
        support for lease limits.
index 3414867f2fd69247890271e870511c7376fdd0d8..aefefed65b6bf5705246eae60caa74dcbd7c8584 100755 (executable)
--- a/hammer.py
+++ b/hammer.py
@@ -88,11 +88,12 @@ SYSTEMS = {
     ],
     'alpine': [
         #'3.10',   # EOLed
-        '3.11',
-        '3.12',
+        #'3.11',   # EOLed
+        #'3.12',   # EOLed
         '3.13',
         '3.14',
         '3.15',
+        '3.16',
     ],
     'arch': []
 }
@@ -162,6 +163,7 @@ IMAGE_TEMPLATES = {
     'alpine-3.13-lxc':         {'bare': 'isc/lxc-alpine-3.13',         'kea': 'isc/kea-alpine-3.13'},
     'alpine-3.14-lxc':         {'bare': 'isc/lxc-alpine-3.14',         'kea': 'isc/kea-alpine-3.14'},
     'alpine-3.15-lxc':         {'bare': 'isc/lxc-alpine-3.15',         'kea': 'isc/kea-alpine-3.15'},
+    'alpine-3.16-lxc':         {'bare': 'isc/lxc-alpine-3.16',         'kea': 'isc/kea-alpine-3.16'},
 }
 
 # NOTES
@@ -1814,7 +1816,7 @@ def prepare_system_local(features, check_times):
     elif system == 'alpine':
 
         packages = ['gcc', 'g++', 'make', 'autoconf', 'automake', 'libtool', 'openssl-dev',
-                    'boost-libs', 'boost-dev', 'procps', 'tar']
+                    'boost-libs', 'boost-dev', 'procps', 'tar', 'log4cplus', 'log4cplus-dev']
 
         if 'docs' in features:
             if revision == '3.10':
@@ -1856,10 +1858,6 @@ def prepare_system_local(features, check_times):
 
         install_pkgs(packages, env=env, timeout=6 * 60, check_times=check_times)
 
-        # log4cplus needs to be taken from extra repository, edge testing
-        execute('sudo apk add log4cplus log4cplus-dev --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted',
-                env=env, timeout=60, check_times=check_times)
-
         # check for existence of 'vagrant' user and 'abuild' group before adding him to the group
         try:
             pwd.getpwnam('vagrant')