[packages/libvirt] make service --status-all work for libvirt-guests

glen glen at pld-linux.org
Sun Apr 6 11:15:51 CEST 2014


commit 5acc77ca2c82896d9362d914b620add835ac6c38
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 6 12:15:40 2014 +0300

    make service --status-all work for libvirt-guests

 libvirt-guests.init.patch | 9 +++++++++
 libvirt.spec              | 4 +++-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index 86ca832..8fe6776 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -39,7 +39,7 @@ Summary:	Toolkit to interact with virtualization capabilities
 Summary(pl.UTF-8):	Narzędzia współpracujące z funkcjami wirtualizacji
 Name:		libvirt
 Version:	1.2.3
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
@@ -54,6 +54,7 @@ Patch4:		virtlockd.init.patch
 Patch5:		%{name}-udevadm-settle.patch
 Patch6:		vserver.patch
 Patch7:		bashisms.patch
+Patch8:		libvirt-guests.init.patch
 URL:		http://www.libvirt.org/
 BuildRequires:	audit-libs-devel
 BuildRequires:	augeas-devel
@@ -424,6 +425,7 @@ Sondy systemtap/dtrace dla libvirt.
 %patch5 -p1
 %{?with_vserver:%patch6 -p1}
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__libtoolize}
diff --git a/libvirt-guests.init.patch b/libvirt-guests.init.patch
new file mode 100644
index 0000000..da84255
--- /dev/null
+++ b/libvirt-guests.init.patch
@@ -0,0 +1,9 @@
+--- libvirt-1.2.3/./tools/libvirt-guests.init.in~	2012-12-12 04:29:55.000000000 +0200
++++ libvirt-1.2.3/./tools/libvirt-guests.init.in	2014-04-06 12:13:29.091387594 +0300
+@@ -25,3 +25,6 @@
+ #
+ 
+ exec @libexecdir@/libvirt-guests.sh "$@"
++
++# next line is here for "service --status-all" to work
++#  status)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/5acc77ca2c82896d9362d914b620add835ac6c38



More information about the pld-cvs-commit mailing list