summaryrefslogtreecommitdiff
path: root/new
diff options
context:
space:
mode:
authordd <dd@wx.tnyzeq.icu>2026-03-09 18:30:52 +0100
committerdd <dd@wx.tnyzeq.icu>2026-03-09 18:30:52 +0100
commit262b555232c1c5ba00519dee8702941f4d123c47 (patch)
treef8ce8574354a9c93c6a250c800be54393b23824f /new
parentb0cf7c82cb9b0053cdaa75943744fcc4c61fb48b (diff)
downloadvyos-jenkins-master.tar.gz
vyos-jenkins-master.zip
removed now redundant workaroundsHEADmaster
Diffstat (limited to 'new')
-rwxr-xr-xnew/image_builder.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/new/image_builder.py b/new/image_builder.py
index b7c7219..5ae7f19 100755
--- a/new/image_builder.py
+++ b/new/image_builder.py
@@ -109,7 +109,7 @@ class ImageBuilder:
git = Git(self.vyos_build_repo)
if not self.keep_build:
if git.exists():
- # We want to delete original vyos-build repo and do fresh clone to clean cached build files.
+ # We want to delete the original vyos-build repo and do a fresh clone to clean cached build files.
self.docker.rmtree(self.vyos_build_repo)
if not git.exists():
@@ -117,22 +117,6 @@ class ImageBuilder:
self.debranding.remove_image_branding(self.vyos_build_repo)
- # TODO: remove me, temporary hack until vyos-build is fixed
- with open(os.path.join(git.repo_path, "data/build-flavors/generic.toml"), "r+") as file:
- contents = file.read()
- contents = contents.replace("vyos-xe-guest-utilities", "xen-guest-agent")
- file.seek(0)
- file.write(contents)
- file.truncate()
-
- # TODO: remove me, another temporary hack until vyos-build is fixed
- with open(os.path.join(git.repo_path, "data/architectures/amd64.toml"), "r+") as file:
- contents = file.read()
- contents = contents.replace("https://repo.saltproject.io/py3", "https://packages.vyos.net/saltproject")
- file.seek(0)
- file.write(contents)
- file.truncate()
-
if self.branch == "current":
if self.vyos_mirror == "local":
# TODO: remove me, yet another temporary hack until vyos-build if fixed