rpm: move os-prober removing code to kernel-install subpackage

Main qubes-core-dom0 should not be installed as part of installer image,
but os-prober dependency pulls that in. So move it into
qubes-core-dom0-kernel-install subpackage. After all this is where grub
config regeneration code is placed, so it is more logical place.

(cherry picked from commit e062c431dd)
This commit is contained in:
Marek Marczykowski-Górecki 2015-07-29 21:35:04 +02:00
parent 1d5b55465f
commit af0fdb3cd3
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -48,11 +48,6 @@ Requires: qubes-core-dom0
Requires: qubes-utils >= 2.0.6
Requires: %{name}-kernel-install
# get rid of os-prober, it tries to mount and parse all the block devices in
# the system, including loop*
Provides: os-prober
Obsoletes: os-prober
%define _builddir %(pwd)
%description
@ -63,6 +58,11 @@ appmenus etc).
%package kernel-install
Summary: Kernel install hook for Xen-based system
# get rid of os-prober, it tries to mount and parse all the block devices in
# the system, including loop*
Provides: os-prober
Obsoletes: os-prober
%description kernel-install
Kernel install hook for Xen-based system.