summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-11-21 10:53:20 -0600
committerGitHub <noreply@github.com>2024-11-21 10:53:20 -0600
commit823759115accd62d2dab7fb098f19f214e136825 (patch)
tree049cd5e56ab9d6de574afb553d1253e81bc03212 /scripts
parentab588e47f88df59f0ca85c758cbf9b1942004183 (diff)
parentae582039f947e0cc5c5a74aa4642707992ed83a1 (diff)
downloadvyos-build-823759115accd62d2dab7fb098f19f214e136825.tar.gz
vyos-build-823759115accd62d2dab7fb098f19f214e136825.zip
Merge pull request #841 from dmbaturin/T6903-configurable-vyos-1x
build: T6903: allow passing vyos-1x repo path in an environment variable
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/image-build/build-vyos-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index 044a9055..5fbc47d8 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -63,7 +63,7 @@ except Exception as e:
# Checkout vyos-1x under build directory
try:
branch_name = build_defaults['vyos_branch']
- url_vyos_1x = 'https://github.com/vyos/vyos-1x'
+ url_vyos_1x = os.getenv('VYOS1X_REPO_URL', default='https://github.com/vyos/vyos-1x')
path_vyos_1x = os.path.join(defaults.BUILD_DIR, 'vyos-1x')
try:
repo_vyos_1x = git.Repo.clone_from(url_vyos_1x, path_vyos_1x, no_checkout=True)