From ae582039f947e0cc5c5a74aa4642707992ed83a1 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 20 Nov 2024 14:32:48 +0000 Subject: [PATCH] build: T6903: allow passing vyos-1x repo path in an environment variable --- scripts/image-build/build-vyos-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image index 044a905565..5fbc47d8b5 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)