]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Don't install legacy initscripts at same time as systemd ones
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Sep 2012 10:24:31 +0000 (11:24 +0100)
committerCole Robinson <crobinso@redhat.com>
Sun, 7 Oct 2012 20:57:13 +0000 (16:57 -0400)
The Fedora policies don't want us installing the legacy initscripts
in parallel with the systemd ones, so switch to only install the
systemd unit

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 49e5abb6a62616c0d4555a754e6a11e816b7d2a3)

libvirt.spec.in

index ff286142638e30c28afa0dcb87e1050b70788f9c..6640a5879e48f19b33dc2a3c41c83809355da132 100644 (file)
@@ -769,9 +769,7 @@ of recent versions of Linux (and other OSes).
 %define with_packager_version --with-packager-version="%{release}"
 
 %if %{with_systemd}
-# We use 'systemd+redhat', so if someone installs upstart or
-# legacy init scripts, they can still start libvirtd, etc
-%define init_scripts --with-init_script=systemd+redhat
+%define init_scripts --with-init_script=systemd
 %else
 %define init_scripts --with-init_script=redhat
 %endif