]> 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)
committerEric Blake <eblake@redhat.com>
Fri, 4 Oct 2013 12:36:23 +0000 (06:36 -0600)
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 eeaea444f0e6a834c1cc643fe0d1b8ea75a3ee6b..fd4209f317582bf24d4349997e96d32871c0188c 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