Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Collapse sidebar
Virtualization
Configuration
Project Config
Overview
Project Configuration of Virtualization
# vim: syntax=spec %if "%_repository" == "containerfile" || "%_repository" == "containerfile_SLE15" %else Support: build-compare %endif Release: Virt.<CI_CNT>.<B_CNT> %if 0%{?suse_version} > 0 Release: Virt.%{suse_version}.<CI_CNT>.<B_CNT> %endif # %if 0%{?sle_version} > 0 Release: Virt.%{sle_version}.<CI_CNT>.<B_CNT> %endif %if "%_repository" == "openSUSE_Tumbleweed" || "%_repository" == "openSUSE_Factory" # rpmlint results (in the rare case they have any meaning) are only relevant for Factory %else Substitute: clamav bash Substitute: clamav-database bash Substitute: bug1231701 post-build-checks Substitute: post-build-checks-malwarescan bash Substitute: rpmlint-Factory bash Substitute: rpmlint-Factory-strict bash Substitute: rpmlint-backports bash Substitute: rpmlint-backports-data bash Substitute: rpmlint-mini bash %endif %if "%_repository" == "containerfile" || "%_repository" == "containerfile_SLE15" BuildEngine: podman Type: docker Repotype: none Patterntype: none VMinstall: perl # KUBEVIRTFROM is passed to container Dockerfiles using the --build-arg option, e.g. # docker build --build-arg KUBEVIRTFROM=opensuse/tumbleweed ... %if "%_repository" == "containerfile" BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed %endif %if "%_repository" == "containerfile_SLE15" BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/leap:15.2 Prefer: sles-release %endif Prefer: dbus-1 %endif ############ # For QEMU # ############ # # Firmwares are built (if possible) once per "port". This reduces build time, e.g., as compared # to cross-compiling everything on everything, and improve consistency, while keeping things self # contained, within ports, which is especially important for openSUSE:Factory # # ### x86 firmwares # They are built on: x86_64 and aarch64. The x86_64 build can then be imported in i586, and the # aarch64 one in armv7l. We're not yet able to build them on any PPC arch (but are working on it) # so, for this devel project, we're exporting them there too (and for Factory, we have an aggregate). # We're also not able to build them on zsystem and riscv, so export them there as well, here in the # devel project (for Factory, we just miss them in s390, while riscv is special in its own way). ExportFilter: ^qemu-ipxe.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-seabios.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-vgabios.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-sgabios.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-microvm.*\.noarch\.rpm$ . i586 armv7l aarch64 ppc ppc64 ppc64le s390x riscv64 # ### PPC firmwares # They are built on: x86_64, aarch64 and ppc64le. The x86_build can then by imported in i586, the # aarch64 one in armv7l and the ppc64le one in ppc and ppc64. As for the x86 firmwares, here in the # devel project, we export them directly to all the arch-es that can't build them, just for convenience. ExportFilter: ^qemu-skiboot.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 s390x riscv64 ExportFilter: ^qemu-SLOF.*\.noarch\.rpm$ . i586 armv7l ppc ppc64 s390x riscv64 # TODO: does the 'qemu-edk2' package still exist? ExportFilter: ^qemu-edk2.*\.noarch\.rpm$ . i586 armv7l aarch64 ppc ppc64 ppc64le s390x riscv64 # OVMF firmwares ExportFilter: ^qemu-ovmf-ia32.*\.noarch\.rpm$ . x86_64 armv7l aarch64 ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-ovmf-x86_64.*\.noarch\.rpm$ . i586 armv7l aarch64 ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-uefi-aarch32.*\.noarch\.rpm$ . i586 x86_64 ppc ppc64 ppc64le s390x riscv64 ExportFilter: ^qemu-uefi-aarch64.*\.noarch\.rpm$ . i586 x86_64 ppc ppc64 ppc64le s390x riscv64 %if 0%{?suse_version} == 1500 # Development happens for Tumbleweed Substitute: pkgconfig(pam) pam-devel %if 0%{?is_opensuse} # # !Leap %else # SLE15 # for xen.spec Substitute: figlet %endif # 1500 # bug#1178976 %endif Macros: # Define a registry path for kubevirt-manifests that points to registry location # of the KubeVirt images built in the project %kubevirt_registry_path registry.opensuse.org/virtualization/containerfile/kubevirt :Macros
Locations
Projects
Search
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects