CentOS 8: Fix containerd build issues and buildrequires dependencies

(1) buildrequires: pkgconfig(libsystemd-journal) -> systemd-devel
(2) add '%global debug_package %{nil}' to fix
error:Empty %files file /builddir/build/BUILD/src/debugsourcefiles.list
(3) Uncomment packages

Change-Id: Iaad194dc1fae9238f7270919c8b0494e18ab7fc3
Story: 2006729
Task: 39945
Signed-off-by: Yong Fu <fuyong@neusoft.com>
This commit is contained in:
Yong Fu 2020-06-04 10:18:11 +08:00
parent ca71aaa31a
commit 5f6e275021
3 changed files with 16 additions and 15 deletions

View File

@ -124,7 +124,7 @@ lighttpd-mod_mysql_vhost
logrotate
# novnc
#novnc
novnc
# sudo
sudo
@ -145,7 +145,7 @@ openldap-clients
openvswitch
# libevent
#libevent
libevent
# tpm2-tools
tpm2-tools
@ -153,7 +153,7 @@ tpm2-tools
# audit
# puppet
#puppet
puppet
# systemd
systemd
@ -165,15 +165,15 @@ tboot
memcached
# kubernetes
#kubernetes
#kubernetes-master
#kubernetes-node
#kubernetes-kubeadm
#kubernetes-client
#containerd
kubernetes
kubernetes-master
kubernetes-node
kubernetes-kubeadm
kubernetes-client
containerd
# resource-agents
#resource-agents
resource-agents
# haproxy
@ -183,7 +183,7 @@ haproxy
# iptables
# python-psycopg2
#python-psycopg2
python3-psycopg2
# dnsmasq
dnsmasq
@ -193,7 +193,7 @@ dnsmasq-utils
parted
# python-keyring
#python3-keyring
python3-keyring
# grub2
grub2-tools

View File

@ -53,7 +53,7 @@ storage-drivers/python-lefthandclient
storage-drivers/trident-installer
security/tboot
docker/python-docker
#kubernetes/containerd
kubernetes/containerd
kubernetes/kubernetes
kubernetes/docker-distribution
kubernetes/etcd
@ -79,4 +79,4 @@ virt/kvm-timer-advance
requests-toolbelt
python/python-mechanize
python/python-html5lib
python/python-webencodings
#python/python-webencodings

View File

@ -21,7 +21,7 @@ Packager: StarlingX
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsystemd-journal)
BuildRequires: systemd-devel
BuildRequires: golang >= 1.12.16
BuildRequires: systemd
BuildRequires: rsync
@ -40,6 +40,7 @@ Provides: containerd.io
%global _missing_build_ids_terminate_build 0
%global debug_package %{nil}
%define CONTAINERD_DIR ${HOME}/go/src/github.com/containerd/containerd
%define RUNC_DIR ${HOME}/go/src/github.com/opencontainers/runc