Skip to content

Commit f51481c

Browse files
authored
containerd2: provide and obsolete moby-containerd-cc (#14364)
Signed-off-by: Saul Paredes <[email protected]>
1 parent e6ac1a2 commit f51481c

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

SPECS/containerd2/containerd2.spec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Summary: Industry-standard container runtime
66
Name: %{upstream_name}2
77
Version: 2.0.0
8-
Release: 12%{?dist}
8+
Release: 13%{?dist}
99
License: ASL 2.0
1010
Group: Tools/Container
1111
URL: https://www.containerd.io
@@ -40,6 +40,10 @@ Obsoletes: containerd < %{version}-%{release}
4040
Provides: moby-containerd = %{version}-%{release}
4141
Obsoletes: moby-containerd < %{version}-%{release}
4242

43+
# This package replaces moby-containerd-cc
44+
Provides: moby-containerd-cc = %{version}-%{release}
45+
Obsoletes: moby-containerd-cc < %{version}-%{release}
46+
4347
%description
4448
containerd is an industry-standard container runtime with an emphasis on
4549
simplicity, robustness and portability. It is available as a daemon for Linux
@@ -94,6 +98,9 @@ fi
9498
%dir /opt/containerd/lib
9599

96100
%changelog
101+
* Mon Jul 21 2025 Saul Paredes <[email protected]> - 2.0.0-13
102+
- Add "Provides/Obsoletes:" to shift all installs of moby-containerd-cc to containerd2
103+
97104
* Tue Jun 10 2025 Mitch Zhu <[email protected]> - 2.0.0-12
98105
- Add updated tardev-snapshotter support patch
99106

SPECS/kata-containers-cc/kata-containers-cc.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Name: kata-containers-cc
55
Version: 3.15.0.aks0
6-
Release: 2%{?dist}
6+
Release: 3%{?dist}
77
Summary: Kata Confidential Containers package developed for Confidential Containers on AKS
88
License: ASL 2.0
99
URL: https://github.com/microsoft/kata-containers
@@ -28,7 +28,7 @@ BuildRequires: fuse-devel
2828
# kernel-uvm is required for debuggability, exercising confidential guest (confidential_guest=true)
2929
# code paths without actual SEV SNP enablement (sev_snp_guest=false)
3030
Requires: kernel-uvm
31-
Requires: moby-containerd-cc
31+
Requires: containerd2
3232
# Must match the version specified by the `assets.virtiofsd.version` field in the source's versions.yaml.
3333
Requires: virtiofsd = 1.8.0
3434

@@ -150,6 +150,9 @@ fi
150150
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
151151

152152
%changelog
153+
* Mon Jul 21 2025 Saul Paredes <[email protected]> - 3.15.0.aks0-3
154+
- Update dependency on containerd2
155+
153156
* Fri Jun 13 2025 Kavya Sree Kaitepalli <[email protected]> - 3.15.0.aks0-2
154157
- Bump release to rebuild with rust
155158

SPECS/kata-containers/kata-containers.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Name: kata-containers
44
Version: 3.18.0.kata0
5-
Release: 1%{?dist}
5+
Release: 2%{?dist}
66
Summary: Kata Containers package developed for Pod Sandboxing on AKS
77
License: ASL 2.0
88
URL: https://github.com/microsoft/kata-containers
@@ -26,6 +26,7 @@ BuildRequires: cmake
2626
Requires: kernel-uvm
2727
# Must match the version specified by the `assets.virtiofsd.version` field in the source's versions.yaml.
2828
Requires: virtiofsd = 1.8.0
29+
Requires: containerd2
2930

3031
%description
3132
The Kata Containers package ships the Kata components for Pod Sandboxing on AKS.
@@ -114,6 +115,9 @@ popd
114115
%{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
115116

116117
%changelog
118+
* Mon Jul 21 2025 Saul Paredes <[email protected]> - 3.18.0.kata0-2
119+
- Add dependency on containerd2
120+
117121
* Wed Jun 25 2025 CBL-Mariner Servicing Account <[email protected]> - 3.18.0.kata0-1
118122
- Auto-upgrade to 3.18.0.kata0
119123

0 commit comments

Comments
 (0)