|
3 | 3 |
|
4 | 4 | Name: kata-containers-cc |
5 | 5 | Version: 3.2.0.azl4 |
6 | | -Release: 1%{?dist} |
| 6 | +Release: 2%{?dist} |
7 | 7 | Summary: Kata Confidential Containers package developed for Confidential Containers on AKS |
8 | 8 | License: ASL 2.0 |
9 | 9 | URL: https://github.com/microsoft/kata-containers |
@@ -43,6 +43,12 @@ Summary: Kata Confidential Containers tools package for building the UVM |
43 | 43 | %description tools |
44 | 44 | This package contains the scripts and files required to build the UVM |
45 | 45 |
|
| 46 | +%package tardev |
| 47 | +Summary: tardev-snapshotter for Kata Containers |
| 48 | + |
| 49 | +%description tardev |
| 50 | +This package contains the tardev-snapshotter service for Kata Containers. |
| 51 | + |
46 | 52 | %prep |
47 | 53 | %autosetup -p1 -n %{sourceName}-%{version} |
48 | 54 | pushd %{_builddir}/%{sourceName}-%{version} |
|
52 | 58 | %build |
53 | 59 | pushd %{_builddir}/%{sourceName}-%{version}/tools/osbuilder/node-builder/azure-linux |
54 | 60 | %make_build package-confpods |
| 61 | +%make_build tardev |
55 | 62 | popd |
56 | 63 |
|
57 | 64 | %define kata_path /opt/confidential-containers |
|
64 | 71 | pushd %{_builddir}/%{sourceName}-%{version}/tools/osbuilder/node-builder/azure-linux |
65 | 72 | START_SERVICES=no PREFIX=%{buildroot} %make_build deploy-confpods-package |
66 | 73 | PREFIX=%{buildroot} %make_build deploy-confpods-package-tools |
| 74 | +PREFIX=%{buildroot} %make_build deploy-tardev |
67 | 75 | popd |
68 | 76 |
|
69 | | -%preun |
| 77 | +%preun tardev |
70 | 78 | %systemd_preun tardev-snapshotter.service |
71 | 79 |
|
72 | | -%postun |
| 80 | +%postun tardev |
73 | 81 | %systemd_postun tardev-snapshotter.service |
74 | 82 |
|
75 | | -%post |
| 83 | +%post tardev |
76 | 84 | %systemd_post tardev-snapshotter.service |
77 | 85 | if [ $1 -eq 1 ]; then # Package install |
78 | 86 | systemctl enable tardev-snapshotter.service > /dev/null 2>&1 || : |
|
82 | 90 | %files |
83 | 91 | %{_sbindir}/mount.tar |
84 | 92 | %{_bindir}/kata-overlay |
85 | | -%{_bindir}/tardev-snapshotter |
86 | | -%{_unitdir}/tardev-snapshotter.service |
87 | | - |
88 | 93 | %{kata_bin}/kata-collect-data.sh |
89 | 94 | %{kata_bin}/kata-monitor |
90 | 95 | %{kata_bin}/kata-runtime |
|
98 | 103 | %doc CONTRIBUTING.md |
99 | 104 | %doc README.md |
100 | 105 |
|
| 106 | +%files tardev |
| 107 | +%{_bindir}/tardev-snapshotter |
| 108 | +%{_unitdir}/tardev-snapshotter.service |
| 109 | + |
101 | 110 | %files tools |
102 | 111 | %dir %{kata_path} |
103 | 112 | %dir %{tools_pkg} |
|
150 | 159 | %{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service |
151 | 160 |
|
152 | 161 | %changelog |
| 162 | +* Mon Mar 03 2025 Mitch Zhu <[email protected]> 3.2.0.azl4-2 |
| 163 | +- Add tardev subpackage |
| 164 | + |
| 165 | + |
153 | 166 | * Wed Jan 22 2025 Saul Paredes <[email protected]> - 3.2.0.azl4-1 |
154 | 167 | - Upgrade to 3.2.0.azl4 release |
155 | 168 |
|
|
0 commit comments