summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2020-09-23 17:50:08 +0200
committerMichal Nowikowski <godfryd@isc.org>2020-10-01 10:39:30 +0200
commitb7085333666116d9cd5dba70f315c237338dfc6e (patch)
tree4ff9bcc4cc1f9e620ab54df7501a20b8b1af49ed /hammer.py
parentAdd documentation update task for Marketing (diff)
downloadkea-b7085333666116d9cd5dba70f315c237338dfc6e.tar.xz
kea-b7085333666116d9cd5dba70f315c237338dfc6e.zip
[#1429] hammer: added support for building Kea on Alpine 3.12
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/hammer.py b/hammer.py
index c479324aea..5671437212 100755
--- a/hammer.py
+++ b/hammer.py
@@ -58,7 +58,8 @@ SYSTEMS = {
'12.0'],
'alpine': [
'3.10',
- '3.11'
+ '3.11',
+ '3.12'
]
}
@@ -101,13 +102,14 @@ IMAGE_TEMPLATES = {
'freebsd-12.0-virtualbox': {'bare': 'generic/freebsd12', 'kea': 'godfryd/kea-freebsd-12.0'},
'alpine-3.10-lxc': {'bare': 'godfryd/lxc-alpine-3.10', 'kea': 'godfryd/kea-alpine-3.10'},
'alpine-3.11-lxc': {'bare': 'isc/lxc-alpine-3.11', 'kea': 'isc/kea-alpine-3.11'},
+ 'alpine-3.12-lxc': {'bare': 'isc/lxc-alpine-3.12', 'kea': 'isc/kea-alpine-3.12'},
}
# NOTES
# ** Alpine **
# 1. Extracting rootfs is failing:
# It requires commenting out checking if rootfs has been extraced as it checks for file /bin/true which is a link.
-# Comment out in ~/.vagrant.d/gems/2.4.9/gems/vagrant-lxc-1.4.3/scripts/lxc-template near 'Failed to extract rootfs'
+# Comment out in ~/.vagrant.d/gems/2.X.Y/gems/vagrant-lxc-1.4.3/scripts/lxc-template near 'Failed to extract rootfs'
LXC_VAGRANTFILE_TPL = """# -*- mode: ruby -*-
@@ -1406,8 +1408,10 @@ def prepare_system_local(features, check_times):
if 'docs' in features:
if revision == '3.10':
packages.extend(['py-sphinx', 'py-sphinx_rtd_theme'])
- else:
+ elif revision == '3.11':
packages.extend(['py3-sphinx'])
+ else:
+ packages.extend(['py3-sphinx', 'py3-sphinx_rtd_theme'])
if 'unittest' in features:
_install_gtest_sources()