Accepting request 214018 from devel:tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/214018 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=2
This commit is contained in:
commit
75a3f9569e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4243202d05d9900fca6249e62814d2b4e2b775c49631bc84654c5dc09f730f1f
|
||||
size 307122
|
3
criu-1.1-rc1.tar.bz2
Normal file
3
criu-1.1-rc1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e4b720f03c02ded75917a4cae7752c53c56609b2fc4e271f985caedc6818d80
|
||||
size 322908
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
include/ptrace.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/include/ptrace.h
|
||||
+++ b/include/ptrace.h
|
||||
@@ -13,7 +13,9 @@
|
||||
# define PTRACE_INTERRUPT 0x4207
|
||||
#endif
|
||||
|
||||
+#ifndef PTRACE_LISTEN
|
||||
#define PTRACE_LISTEN 0x4208
|
||||
+#endif
|
||||
|
||||
#ifndef PTRACE_PEEKSIGINFO
|
||||
#define PTRACE_PEEKSIGINFO 0x4209
|
26
criu.changes
26
criu.changes
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 16:40:12 CET 2014 - tiwai@suse.de
|
||||
|
||||
- Update to version 1.1-rc1:
|
||||
New features:
|
||||
* libcriu.so -- wrapper library for RPC clients
|
||||
* new plugins: external unix sockets, external bind mounts,
|
||||
external net devices and unknown file types
|
||||
* Images deduplication in incremental dumps
|
||||
* Integration with systemd
|
||||
* Filtering of criu show output
|
||||
Bug fixes:
|
||||
* Errors in unlinked files/sockets detection on BTRFS
|
||||
* NFS silly-rename files are not treated as unlinked
|
||||
* Freezer fail to seize quickly forking/pthread_create-ing tasks
|
||||
* Extra stop signal queued for stopped tasks after pre-dump
|
||||
* Wrong dying task state detection
|
||||
* Lost RPC dump response
|
||||
* Crash when reporting restore error via RPC
|
||||
* Negative return code into shell
|
||||
* Tasks left in wrong states after failed dump
|
||||
* A little bit more verbose check action
|
||||
* Coverity checks fail here and there
|
||||
|
||||
- Drop obsoleted criu-fix-PTRACE_LISTEN-define.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 14:29:51 CET 2013 - tiwai@suse.de
|
||||
|
||||
|
34
criu.spec
34
criu.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package alsa
|
||||
# spec file for package criu
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,9 +15,11 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define package_version 1.1-rc1
|
||||
Name: criu
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
Version: 1.0.99.1
|
||||
Release: 0
|
||||
Summary: Checkpoint/Restore In Userspace Tools
|
||||
License: GPL-2.0
|
||||
Group: System/Console
|
||||
@ -25,8 +27,8 @@ Url: http://criu.org/
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: protobuf-c
|
||||
BuildRequires: xmlto
|
||||
Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
|
||||
Patch1: criu-fix-PTRACE_LISTEN-define.diff
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@ -38,8 +40,7 @@ files. You can then use the files to restore and run the application from
|
||||
the point it was frozen at.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%setup -q -n %{name}-%{package_version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags"
|
||||
@ -53,10 +54,27 @@ ln -s criu.8 $RPM_BUILD_ROOT%{_mandir}/man8/crtools.8
|
||||
# fix up wrong permissions
|
||||
chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man*/*
|
||||
|
||||
%pre
|
||||
%service_add_pre criu.service criu.socket
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
%service_del_preun criu.service criu.socket
|
||||
exit 0
|
||||
|
||||
%post
|
||||
%service_add_post criu.service criu.socket
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
%service_del_postun criu.service criu.socket
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYING
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/man*/*
|
||||
%{_unitdir}/criu.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user