diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-03-10 21:03:09 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-03-10 21:03:09 +0100 |
commit | dec0a52554c8bf8e87a0ac4dba7d7ae357672e6e (patch) | |
tree | aee73883daf4d20f5c210ff7081ab25a0fff4990 /scripts/live-build-config | |
parent | 48bcbfff70c0e7629f7ece72f59aec3c67e8efb4 (diff) | |
download | vyos-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-x | scripts/live-build-config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config index ad559559..1aea4dc5 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']: |