Disable podman test when c/r is not supported
Resolves: rhbz#2000882 Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
This commit is contained in:
parent
457c2e1c92
commit
3446799524
@ -11,7 +11,7 @@
|
||||
|
||||
Name: criu
|
||||
Version: 3.15
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Provides: crtools = %{version}-%{release}
|
||||
Obsoletes: crtools <= 1.0-2
|
||||
Summary: Tool for Checkpoint/Restore in User-space
|
||||
@ -118,6 +118,10 @@ rm -rf $RPM_BUILD_ROOT%{_libexecdir}/%{name}
|
||||
%doc %{_mandir}/man1/crit.1*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 6 2021 Radostin Stoyanov <radostin@redhat.com> - 3.15-12
|
||||
- Increase release number from 11 to 12
|
||||
- Disable podman test when crun doesn't support checkpoint/restore
|
||||
|
||||
* Tue Aug 31 2021 Adrian Reber <areber@redhat.com> - 3.15-11
|
||||
- Remove unnecessary Requires: criu-libs
|
||||
- Remove wrong BR nftables-devel
|
||||
|
@ -4,6 +4,11 @@ set -eux
|
||||
|
||||
ls -la
|
||||
|
||||
if ! crun checkpoint --help; then
|
||||
echo "crun doesn't support checkpoint/restore"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Start container"
|
||||
podman --log-level debug run -d quay.io/adrianreber/counter
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user