summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-26 17:43:48 +0100
committerGitHub <noreply@github.com>2024-02-26 17:43:48 +0100
commit65d5a9cea20590b96b46d7f86173851570199aa7 (patch)
treef5301e56fb45a6254445290c6e90c01ec63bf429
parent41ec6885b4ddaff7448aa2c2d2c1cbc54559bb0a (diff)
parent6d32501f7b8bc9c8b70e6af69c9457e659a527d1 (diff)
downloadvyos-build-65d5a9cea20590b96b46d7f86173851570199aa7.tar.gz
vyos-build-65d5a9cea20590b96b46d7f86173851570199aa7.zip
Merge pull request #511 from hcuk94/sagitta
T6065: Remove duplicated lines from build-vyos-image script causing script to fail
-rwxr-xr-xscripts/build-vyos-image7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 8e299180..0ec77bde 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -357,13 +357,6 @@ if __name__ == "__main__":
print(os_release, file=f)
- # Switch to the build directory, this is crucial for the live-build work
- # because the efective build config files etc. are there.
- #
- # All directory paths from this point must be relative to BUILD_DIR,
- # not to the vyos-build repository root.
- os.chdir(defaults.BUILD_DIR)
-
## Clean up earlier build state and artifacts
print("I: Cleaning the build workspace")
os.system("lb clean")