summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/defaults.py2
-rwxr-xr-xscripts/live-build-config5
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/defaults.py b/scripts/defaults.py
index bb6f0910..93eadc30 100644
--- a/scripts/defaults.py
+++ b/scripts/defaults.py
@@ -33,7 +33,7 @@ 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'
+VYOS_MIRROR = 'http://dev.packages.vyos.net/repositories/current'
VYOS_BRANCH = 'current'
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 5814bf89..b1a77b4c 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -65,16 +65,19 @@ debug = build_config['debug']
# Add the additional repositories to package lists
print("Setting up additional APT entries")
-vyos_repo_entry = "deb {0} {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
+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'])
apt_file = os.path.join(build_config['build_dir'], defaults.VYOS_REPO_FILE)
if debug:
print("Adding these entries to {0}:".format(apt_file))
print("\t", vyos_repo_entry)
+ print("\t", vyos_debian_repo_entry)
with open(apt_file, 'w') as f:
f.write(vyos_repo_entry)
+ f.write(vyos_debian_repo_entry)
# Configure live-build