summaryrefslogtreecommitdiff
path: root/scripts/defaults.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-03-25 00:27:18 +0100
committerDaniil Baturin <daniil@baturin.org>2019-03-25 00:27:18 +0100
commit9209f34d4337aa2b848019b0c88297eda9213728 (patch)
tree8b3d3b6d77b5d8f1b1ded759c160db87490a933e /scripts/defaults.py
parenta9f2c0468889ae061d4f5a88ba7548e496627ea3 (diff)
downloadvyos-build-9209f34d4337aa2b848019b0c88297eda9213728.tar.gz
vyos-build-9209f34d4337aa2b848019b0c88297eda9213728.zip
T1313: add support for reusable build flavor files.
Diffstat (limited to 'scripts/defaults.py')
-rw-r--r--scripts/defaults.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/scripts/defaults.py b/scripts/defaults.py
index 5f1941c1..5d489e48 100644
--- a/scripts/defaults.py
+++ b/scripts/defaults.py
@@ -21,27 +21,16 @@ import os
BUILD_DIR = 'build'
BUILD_CONFIG = os.path.join(BUILD_DIR, 'build-config.json')
-# The default mirror was chosen entirely at random
-DEBIAN_MIRROR = 'http://deb.debian.org/debian'
-DEBIAN_SECURITY_MIRROR = 'http://deb.debian.org/debian-security'
-
-DEBIAN_DISTRIBUTION = 'jessie'
-
-SALT_MIRROR = 'http://repo.saltstack.com/apt/debian/8/amd64/2017.7'
-PDNS_MIRROR = 'http://repo.powerdns.com/debian'
-
PBUILDER_CONFIG = os.path.join(BUILD_DIR, 'pbuilderrc')
PBUILDER_DIR = os.path.join(BUILD_DIR, 'pbuilder')
LB_CONFIG_DIR = os.path.join(BUILD_DIR, 'config')
CHROOT_INCLUDES_DIR = os.path.join(LB_CONFIG_DIR, 'includes.chroot')
-VYOS_MIRROR = 'http://dev.packages.vyos.net/repositories/current'
-
-VYOS_BRANCH = 'current'
-
ARCHIVES_DIR = 'config/archives/'
VYOS_REPO_FILE = 'config/archives/vyos.list.chroot'
CUSTOM_REPO_FILE = 'config/archives/custom.list.chroot'
CUSTOM_PACKAGE_LIST_FILE = 'config/package-lists/custom.list.chroot'
+
+DEFAULT_BUILD_FLAVOR = 'data/defaults.json'