]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerDaniel Veillard <veillard@redhat.com>
Mon, 24 Sep 2012 02:50:16 +0000 (10:50 +0800)
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>
libvirt.spec.in

index 1192739148e064d5bb77c6d2ad555671c3431616..a39266376747370f7c2588ef8f24eca972142bcb 100644 (file)
@@ -1217,9 +1217,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