summaryrefslogtreecommitdiff
path: root/scripts/build-vyos-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-vyos-image')
-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")