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.
This commit is contained in:
parent
a2da1c9e8d
commit
e062c431dd
@ -49,11 +49,6 @@ Requires: qubes-core-dom0
|
|||||||
Requires: qubes-utils >= 2.0.6
|
Requires: qubes-utils >= 2.0.6
|
||||||
Requires: %{name}-kernel-install
|
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)
|
%define _builddir %(pwd)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -64,6 +59,11 @@ appmenus etc).
|
|||||||
%package kernel-install
|
%package kernel-install
|
||||||
Summary: Kernel install hook for Xen-based system
|
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
|
%description kernel-install
|
||||||
Kernel install hook for Xen-based system.
|
Kernel install hook for Xen-based system.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user