mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T519: fix paths and operation order in the makefile for correct repo setup.
This commit is contained in:
parent
920344fe59
commit
679747704a
3
Makefile
3
Makefile
@ -15,8 +15,9 @@ prepare:
|
||||
@echo "Starting VyOS ISO image build"
|
||||
|
||||
rm -rf build/config/*
|
||||
@scripts/live-build-config
|
||||
mkdir -p build/config
|
||||
cp -r data/live-build-config/* build/config/
|
||||
@scripts/live-build-config
|
||||
@scripts/import-local-packages
|
||||
|
||||
@scripts/make-version-file
|
||||
|
||||
@ -66,7 +66,7 @@ debug = build_config['debug']
|
||||
print("Setting up additional APT entries")
|
||||
vyos_repo_entry = "deb {0} {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
|
||||
|
||||
apt_file = os.path.join(defaults.BUILD_DIR, defaults.VYOS_REPO_FILE)
|
||||
apt_file = os.path.join(build_config['build_dir'], defaults.VYOS_REPO_FILE)
|
||||
|
||||
if debug:
|
||||
print("Adding these entries to {0}:".format(apt_file))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user