summaryrefslogtreecommitdiff
path: root/scripts/live-build-config
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-03-10 21:03:09 +0100
committerChristian Poessinger <christian@poessinger.com>2019-03-10 21:03:09 +0100
commitdec0a52554c8bf8e87a0ac4dba7d7ae357672e6e (patch)
treeaee73883daf4d20f5c210ff7081ab25a0fff4990 /scripts/live-build-config
parent48bcbfff70c0e7629f7ece72f59aec3c67e8efb4 (diff)
downloadvyos-build-dec0a52554c8bf8e87a0ac4dba7d7ae357672e6e.tar.gz
vyos-build-dec0a52554c8bf8e87a0ac4dba7d7ae357672e6e.zip
[build] Use pdns-recursor binary packages from PowerDNS
https://repo.powerdns.com/ provides a package repository for Debian 8 which serves us automatically all security updates instead of rebuilding the package by us. This drops the maintenance of one additional package.
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-xscripts/live-build-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config
index ad55955..1aea4dc 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -71,6 +71,7 @@ print("Setting up additional APT entries")
vyos_repo_entry = "deb {0}/vyos {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
vyos_debian_repo_entry = "deb {0}/debian {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
salt_repo_entry = "deb {0} {1} main\n".format(build_config['salt_mirror'], build_config['distribution'])
+pdns_repo_entry = "deb {0} {1}-rec-41 main\n".format(build_config['pdns_mirror'], build_config['distribution'])
apt_file = os.path.join(build_config['build_dir'], defaults.VYOS_REPO_FILE)
@@ -79,11 +80,13 @@ if debug:
print("\t", vyos_repo_entry)
print("\t", vyos_debian_repo_entry)
print("\t", salt_repo_entry)
+ print("\t", pdns_repo_entry)
with open(apt_file, 'w') as f:
f.write(vyos_repo_entry)
f.write(vyos_debian_repo_entry)
f.write(salt_repo_entry)
+ f.write(pdns_repo_entry)
# Add custom APT entries
if build_config['custom_apt_entry']: