summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhcuk94 <me@hc.me.uk>2024-02-25 14:54:29 +0000
committerhcuk94 <me@hc.me.uk>2024-02-25 14:54:29 +0000
commit6d32501f7b8bc9c8b70e6af69c9457e659a527d1 (patch)
treef5301e56fb45a6254445290c6e90c01ec63bf429
parent41ec6885b4ddaff7448aa2c2d2c1cbc54559bb0a (diff)
downloadvyos-build-6d32501f7b8bc9c8b70e6af69c9457e659a527d1.tar.gz
vyos-build-6d32501f7b8bc9c8b70e6af69c9457e659a527d1.zip
T6065: Remove duplicated lines from build-vyos-image script
-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")