mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-26 11:39:29 +00:00
obs: Add CentOS 8
Build packages for CentOS 8. Fixes #1048 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
e9dc1c90be
commit
34136ac396
@ -177,6 +177,7 @@ main() {
|
|||||||
info "Creating/Updating project with name ${project_branch}"
|
info "Creating/Updating project with name ${project_branch}"
|
||||||
# Update /Create project metadata.
|
# Update /Create project metadata.
|
||||||
docker_run osc meta prj "${project_branch}" -F meta_project.xml
|
docker_run osc meta prj "${project_branch}" -F meta_project.xml
|
||||||
|
docker_run osc meta prjconf "${project_branch}" -F projectconfig
|
||||||
for pkg in "${OBS_PKGS_PROJECTS[@]}"; do
|
for pkg in "${OBS_PKGS_PROJECTS[@]}"; do
|
||||||
if ! pkg_exist "${project_branch}" "${pkg}"; then
|
if ! pkg_exist "${project_branch}" "${pkg}"; then
|
||||||
echo "Package ${pkg} does not exit in ${project_branch}, creating ..."
|
echo "Package ${pkg} does not exit in ${project_branch}, creating ..."
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
# name::project::repository
|
# name::project::repository
|
||||||
#
|
#
|
||||||
CentOS_7::CentOS:CentOS-7::standard
|
CentOS_7::CentOS:CentOS-7::standard
|
||||||
|
CentOS_8::CentOS:CentOS-8::standard
|
||||||
Debian_9::Debian:9.0::standard
|
Debian_9::Debian:9.0::standard
|
||||||
# Qemu vanilla is broken see https://github.com/kata-containers/packaging/issues/1051
|
# Qemu vanilla is broken see https://github.com/kata-containers/packaging/issues/1051
|
||||||
#Debian_10::Debian:10::standard
|
#Debian_10::Debian:10::standard
|
||||||
|
@ -30,10 +30,14 @@ BuildRequires: libelf-devel
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?centos_version}
|
%if 0%{?fedora} || 0%{?centos} <= 7
|
||||||
BuildRequires: pkgconfig(libelf)
|
BuildRequires: pkgconfig(libelf)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?centos} >= 8
|
||||||
|
BuildRequires: elfutils-libelf-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: make >= 3.78
|
BuildRequires: make >= 3.78
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
1
obs-packaging/projectconfig
Normal file
1
obs-packaging/projectconfig
Normal file
@ -0,0 +1 @@
|
|||||||
|
ExpandFlags: module:python36-3.6
|
@ -43,8 +43,14 @@ BuildRequires : libnuma-devel
|
|||||||
%else
|
%else
|
||||||
BuildRequires : numactl-devel
|
BuildRequires : numactl-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?centos} < 8
|
||||||
BuildRequires : python
|
BuildRequires : python
|
||||||
BuildRequires : python-devel
|
BuildRequires : python-devel
|
||||||
|
%else
|
||||||
|
BuildRequires : python3
|
||||||
|
BuildRequires : python3-devel
|
||||||
|
%endif
|
||||||
BuildRequires : zlib-devel
|
BuildRequires : zlib-devel
|
||||||
BuildRequires : pkgconfig(pixman-1)
|
BuildRequires : pkgconfig(pixman-1)
|
||||||
BuildRequires : libpmem-devel
|
BuildRequires : libpmem-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user