Accepting request 518323 from home:tiwai:branches:devel:tools

- update to criu 3.4:
  New features:
  * Support for s390x architecture
  Improvements:
  * Unexpected death of restored tasks is reported with more
    details in logs
  * Merged many images containing info about files into one big
    files.img
  * When helper utility fails (ip, iptables, tar) its name is
    printed in logs
  Bugfixes:
  * Compilation failed on newer glibcs (ucontext_t)
  * Dying helper task could deadlock the restore process
  * Install-related makefile variables weren't configurable for
    distro build
  * SIT (ipv6-to-v4 tunnel) presence on host blocked dump of any
    containers
  * Potential NULL dereference when dumping net namespace
  * Dump via page server might not work across different criu
    versions
  * Failure to restore a subtask could be ignored by the restore
    command
  * EOF on page-server socket wasn't handled
- Dropped obsoleted patch:
  criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch
- Add s390x to exclusivearch

OBS-URL: https://build.opensuse.org/request/show/518323
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=72
This commit is contained in:
Martin Pluskal 2017-08-23 08:02:46 +00:00 committed by Git OBS Bridge
parent 94e6d7b010
commit 66ff08c18d
5 changed files with 35 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a2b58ddccce7ab360c4b629b7c7333f3c63b8fc80d2ccaccd7e2bd3d9edfe6a
size 684477

3
criu-3.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:876bf32b9351c0034ff8f7064a6e63487f6639aedec115356cc76c436fa437c2
size 701680

View File

@ -1,15 +0,0 @@
---
criu/arch/ppc64/include/asm/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/criu/arch/ppc64/include/asm/types.h
+++ b/criu/arch/ppc64/include/asm/types.h
@@ -29,7 +29,7 @@ static inline uint64_t encode_pointer(vo
* include/linux/mm_types.h
*/
#define AT_VECTOR_SIZE_BASE 20
-#define AT_VECTOR_SIZE_ARCH 6
+#define AT_VECTOR_SIZE_ARCH 14
#define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
typedef uint64_t auxv_t;

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Aug 22 17:21:54 CEST 2017 - tiwai@suse.de
- update to criu 3.4:
New features:
* Support for s390x architecture
Improvements:
* Unexpected death of restored tasks is reported with more
details in logs
* Merged many images containing info about files into one big
files.img
* When helper utility fails (ip, iptables, tar) its name is
printed in logs
Bugfixes:
* Compilation failed on newer glibcs (ucontext_t)
* Dying helper task could deadlock the restore process
* Install-related makefile variables weren't configurable for
distro build
* SIT (ipv6-to-v4 tunnel) presence on host blocked dump of any
containers
* Potential NULL dereference when dumping net namespace
* Dump via page server might not work across different criu
versions
* Failure to restore a subtask could be ignored by the restore
command
* EOF on page-server socket wasn't handled
- Dropped obsoleted patch:
criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch
- Add s390x to exclusivearch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 19 11:16:42 UTC 2017 - bwiedemann@suse.com Wed Jul 19 11:16:42 UTC 2017 - bwiedemann@suse.com

View File

@ -17,7 +17,7 @@
Name: criu Name: criu
Version: 3.3 Version: 3.4
Release: 0 Release: 0
Summary: Checkpoint/Restore In Userspace Tools Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0 License: GPL-2.0
@ -25,7 +25,6 @@ Group: System/Console
Url: http://criu.org/ Url: http://criu.org/
Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2 Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
Patch1: criu-py-install-fix.diff Patch1: criu-py-install-fix.diff
Patch2: criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch
BuildRequires: asciidoc BuildRequires: asciidoc
%if 0%{suse_version} > 1320 %if 0%{suse_version} > 1320
BuildRequires: libbsd-devel BuildRequires: libbsd-devel
@ -40,7 +39,7 @@ BuildRequires: xmlto
Requires: python-ipaddr Requires: python-ipaddr
Requires: python-protobuf Requires: python-protobuf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 aarch64 ppc64le %{arm} ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x
%description %description
Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux
@ -81,7 +80,6 @@ to develop applications with CRIU library.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
# default off # default off
echo "BINFMT_MISC_VIRTUALIZED" > .config echo "BINFMT_MISC_VIRTUALIZED" > .config