[libvirt/f17] Add patch to fix ordering to come up after network target. Bug 802475

Kevin Fenzi kevin at fedoraproject.org
Thu Mar 29 04:44:25 UTC 2012


commit 3acabefe344c68480ac2a8f8c5d30ff3bf964035
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Wed Mar 28 22:44:22 2012 -0600

    Add patch to fix ordering to come up after network target. Bug 802475

 libvirt-0.9.10-systemd-network.patch |   11 +++++++++++
 libvirt.spec                         |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/libvirt-0.9.10-systemd-network.patch b/libvirt-0.9.10-systemd-network.patch
new file mode 100644
index 0000000..e1f663e
--- /dev/null
+++ b/libvirt-0.9.10-systemd-network.patch
@@ -0,0 +1,11 @@
+diff -Nur libvirt-0.9.10.orig/daemon/libvirtd.service.in libvirt-0.9.10/daemon/libvirtd.service.in
+--- libvirt-0.9.10.orig/daemon/libvirtd.service.in	2012-02-03 01:51:54.000000000 -0700
++++ libvirt-0.9.10/daemon/libvirtd.service.in	2012-03-28 22:34:34.576986925 -0600
+@@ -9,6 +9,7 @@
+ After=udev.target
+ After=avahi.target
+ After=dbus.target
++After=network.target
+ Before=libvirt-guests.service
+ 
+ [Service]
diff --git a/libvirt.spec b/libvirt.spec
index 86318d1..7dbb70f 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -252,11 +252,12 @@
 Summary: Library providing a simple virtualization API
 Name: libvirt
 Version: 0.9.10
-Release: 2%{?dist}%{?extra_release}
+Release: 2%{?dist}%{?extra_release}.1
 License: LGPLv2+
 Group: Development/Libraries
 Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
 Patch1: %{name}-%{version}-qemu-replace-deprecated-fedora-13-machine.patch
+Patch2: libvirt-0.9.10-systemd-network.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://libvirt.org/
@@ -588,6 +589,7 @@ of recent versions of Linux (and other OSes).
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 %if ! %{with_xen}
@@ -1277,6 +1279,9 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/sysctl.d/libvirtd
 %endif
 
 %changelog
+* Wed Mar 28 2012 Kevin Fenzi <kevin at scrye.com> - 0.9.10-2.1
+- Add patch to fix ordering to come up after network target. Bug 802475
+
 * Fri Mar  9 2012 Laine Stump <laine at redhat.com> - 0.9.10-2
 - replace "fedora-13" machine type with "pc-0.14" to prepare
   systems for removal of "fedora-13" from qemu - Bug 754772


More information about the scm-commits mailing list