scm: Stop trying to download src arch
This simplifies configuring extra isos to avoid failing on downloading non-existing images. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
46d6c48e0a
commit
b3a316776e
1 changed files with 2 additions and 0 deletions
|
|
@ -358,6 +358,8 @@ class ContainerImageScmWrapper(ScmBase):
|
||||||
raise RuntimeError("Containers can only be exported as files")
|
raise RuntimeError("Containers can only be exported as files")
|
||||||
|
|
||||||
def export_file(self, scm_root, scm_file, target_dir, scm_branch=None, arch=None):
|
def export_file(self, scm_root, scm_file, target_dir, scm_branch=None, arch=None):
|
||||||
|
if arch == "src":
|
||||||
|
return
|
||||||
ARCHES = {"aarch64": "arm64", "x86_64": "amd64"}
|
ARCHES = {"aarch64": "arm64", "x86_64": "amd64"}
|
||||||
arch = ARCHES.get(arch, arch)
|
arch = ARCHES.get(arch, arch)
|
||||||
cmd = [
|
cmd = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue