The package rpms/cri-o.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cri-o.git/commit/?id=29c899781c24....
Change:
-ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit 29c899781c240370f21364fb2a234856a0675f87
Author: Daniel J Walsh <dwalsh(a)redhat.com>
Date: Thu Aug 3 13:18:14 2017 +0000
Beta Release
Additional registry support
Daemon pids-limit support
cri-o daemon now supports a default pid-limit on all containers to prevent
fork-bombs. This is configurable by admins through a flag or /etc/crio/crio.conf
Configurable image volume support
Bugs and Stability fixes
OCI 1.0 runtime support
Dropped internal runc, and now use systems runc
diff --git a/.gitignore b/.gitignore
index 0fb362a..3c56866 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
-/cri-o-5dcbdc0.tar.gz
+/cri-o-c0fb3d9.tar.gz
/runc-67bd2ab.tar.gz
+/cri-o-5dcbdc0.tar.gz
/plugins-dcf7368.tar.gz
/cri-o-91977d3.tar.gz
/cri-o-fa25b38.tar.gz
+/cri-o-66d96e7.tar.gz
diff --git a/cri-o.spec b/cri-o.spec
index 703a75c..99773ee 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -25,31 +25,23 @@
#
https://github.com/kubernetes-incubator/cri-o
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit0 fa25b381b153780faafc5535ca29f3b0a6c94944
+%global commit0 66d96e77e33bf773781e2a8313e8a73b9c679caa
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-# runc
-%global git_runc
https://github.com/opencontainers/runc/
-%global commit_runc 67bd2ab554bdf8a604f020e57448b37ef2102171
-%global shortcommit_runc %(c=%{commit_runc}; echo ${c:0:7})
-
%global service_name crio
Name: cri-o
-Version: 1.0.0.alpha.0
-Release: 2.git%{shortcommit0}%{?dist}
+Version: 1.0.0.beta.0
+Release: 1.git%{shortcommit0}%{?dist}
Summary: OCI-based implementation of Kubernetes Container Runtime Interface
License: ASL 2.0
URL: https://%{provider_prefix}
Source0:
https://github.com/kubernetes-incubator/cri-o/archive/%{commit0}/%{repo}-...
Source3: %{service_name}-network.sysconfig
Source4: %{service_name}-storage.sysconfig
-Source5: %{git_runc}/archive/%{commit_runc}/runc-%{shortcommit_runc}.tar.gz
+ExcludeArch: ppc64
+Provides: %{repo}
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-#ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# skip s390x (rhbz#1466865)
-ExclusiveArch: x86_64 aarch64 ppc64le
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: btrfs-progs-devel
@@ -64,6 +56,7 @@ BuildRequires: pkgconfig(systemd)
BuildRequires: device-mapper-devel
Requires(pre): container-selinux
Requires: skopeo-containers
+Requires: runc >= runc-1.0.1
Provides: %{repo} = %{version}-%{release}
Provides: %{service_name} = %{version}-%{release}
Obsoletes: ocid <= 0.3
@@ -425,14 +418,11 @@ providing packages with %{import_path} prefix.
%autosetup -Sgit -n %{name}-%{commit0}
sed -i 's/\/usr\/local\/bin\/crio/\/usr\/bin\/crio/g'
contrib/systemd/%{service_name}.service
-tar zxf %{SOURCE5}
-
%build
mkdir _build
pushd _build
mkdir -p src/%{provider}.%{provider_tld}/{%{project},opencontainers}
ln -s $(dirs +1 -l) src/%{import_path}
-ln -s $(dirs +1 -l)/runc-%{commit_runc}
src/%{provider}.%{provider_tld}/opencontainers/runc
popd
ln -s vendor src
@@ -444,14 +434,9 @@ make binaries
./%{service_name} \
--selinux=true \
--storage-driver=overlay2 \
- --runtime /usr/libexec/%{service_name}/runc \
--conmon /usr/libexec/%{service_name}/conmon \
--cgroup-manager=systemd config > %{service_name}.conf
-pushd
_build/src/github.com/opencontainers/runc
-make BUILDTAGS="seccomp selinux"
-popd
-
%install
make DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} install.config install.systemd
install.completions
@@ -463,8 +448,6 @@ install -p -m 755 kpod %{buildroot}%{_bindir}
install -p -m 755 conmon/conmon %{buildroot}%{_libexecdir}/%{service_name}
install -p -m 755 pause/pause %{buildroot}%{_libexecdir}/%{service_name}
-install -p -m 755 runc-%{commit_runc}/runc %{buildroot}%{_libexecdir}/%{service_name}
-
install -dp %{buildroot}%{_sysconfdir}/cni/net.d
install -p -m 644 contrib/cni/10-crio-bridge.conf
%{buildroot}%{_sysconfdir}/cni/net.d/100-crio-bridge.conf
install -p -m 644 contrib/cni/99-loopback.conf
%{buildroot}%{_sysconfdir}/cni/net.d/200-loopback.conf
@@ -563,13 +546,32 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%dir %{_libexecdir}/%{service_name}
%{_libexecdir}/%{service_name}/conmon
%{_libexecdir}/%{service_name}/pause
-%{_libexecdir}/%{service_name}/runc
%{_unitdir}/%{service_name}.service
+%{_unitdir}/cri-o.service
%{_unitdir}/%{service_name}-shutdown.service
%dir %{_sharedstatedir}/containers
%{_datadir}/bash-completion/completions/*
%changelog
+* Thu Aug 3 2017 Dan Walsh <dwalsh(a)redhat.com> - 1.0.0.beta.0-1.git66d96e7
+- Beta Release
+- Additional registry support
+- Daemon pids-limit support
+- cri-o daemon now supports a default pid-limit on all containers to prevent
fork-bombs. This is configurable by admins through a flag or /etc/crio/crio.conf
+- Configurable image volume support
+- Bugs and Stability fixes
+- OCI 1.0 runtime support
+- Dropped internal runc, and now use systems runc
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.0.0.alpha.0-5.gitfa25b38
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.0.0.alpha.0-4.gitfa25b38
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Jul 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
1.0.0.alpha.0-3.gitfa25b38
+- enable all arches except ppc64 because it's been removed from goarches
+
* Thu Jul 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
1.0.0.alpha.0-2.gitfa25b38
- built commit fa25b38
- Provides: crio
diff --git a/sources b/sources
index ef61048..575f86d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (cri-o-fa25b38.tar.gz) =
24cf7155b8845828a3e153354bd19d15ce2b3dffb7f1db099d5bd019cad42a6309a9c99c726ece6d91c2c5af9eecf71fa38a65acb08235d5c6a1a00eedd0521d
-SHA512 (runc-67bd2ab.tar.gz) =
4aac5f3d00ab022c0d0e4140f0e8caaa37aeb9cdc31b95485a3094e3b7082f1b617337d860777016807b2f16a3dc1a6e5b768af1a9e61d806fe763c7e1dcde28
+SHA512 (plugins-dcf7368.tar.gz) =
59b035790870e4349ad9c4ad34c655618bdba7fce8927c2efbcf0f205d7365e0e2b5a853335282f3193b4b8d9ebb41152a828d2d12d3613421a303e6feb8e1ab
+SHA512 (cri-o-66d96e7.tar.gz) =
c83e52e33cf4a3146914b2f631092f2983c065845d98a681f3c1b2d7b9b92c5506de5051745bc3fa214b8c7321331d45c830bd088ffd81fefc11906c3591091c