diff options
| -rwxr-xr-x | new/image_builder.py | 18 |
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 |
