提交 49e5abb6 编写于 作者: D Daniel P. Berrange 提交者: Daniel Veillard

Don't install legacy initscripts at same time as systemd ones

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: NDaniel P. Berrange <berrange@redhat.com>
上级 5cdcb75d
...@@ -1217,9 +1217,7 @@ of recent versions of Linux (and other OSes). ...@@ -1217,9 +1217,7 @@ of recent versions of Linux (and other OSes).
%define with_packager_version --with-packager-version="%{release}" %define with_packager_version --with-packager-version="%{release}"
%if %{with_systemd} %if %{with_systemd}
# We use 'systemd+redhat', so if someone installs upstart or %define init_scripts --with-init_script=systemd
# legacy init scripts, they can still start libvirtd, etc
%define init_scripts --with-init_script=systemd+redhat
%else %else
%define init_scripts --with-init_script=redhat %define init_scripts --with-init_script=redhat
%endif %endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册