diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-11-20 14:32:48 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-11-20 14:34:56 +0000 |
commit | ae582039f947e0cc5c5a74aa4642707992ed83a1 (patch) | |
tree | c288a41ff39bf6df41da6e71eb5de3387ba67e3b /scripts | |
parent | 2efc869757dab663130e21a86c6f08bc80f589b9 (diff) | |
download | vyos-build-ae582039f947e0cc5c5a74aa4642707992ed83a1.tar.gz vyos-build-ae582039f947e0cc5c5a74aa4642707992ed83a1.zip |
build: T6903: allow passing vyos-1x repo path in an environment variable
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/image-build/build-vyos-image | 2 |
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) |