Fix setting default kernel for VM
(cherry picked from commit 02beadc381
)
This commit is contained in:
parent
98cd4d1c78
commit
c4c75cb41c
@ -475,7 +475,7 @@ License: GPL v2 only
|
|||||||
Group: Development/Sources
|
Group: Development/Sources
|
||||||
Provides: multiversion(kernel)
|
Provides: multiversion(kernel)
|
||||||
Provides: %name-devel = %kernelrelease
|
Provides: %name-devel = %kernelrelease
|
||||||
%if "%{name_suffix}" != ""
|
%if "%{?name_suffix}" != ""
|
||||||
Provides: kernel-devel = %kernelrelease
|
Provides: kernel-devel = %kernelrelease
|
||||||
%endif
|
%endif
|
||||||
Provides: kernel-devel-uname-r = %kernelrelease
|
Provides: kernel-devel-uname-r = %kernelrelease
|
||||||
@ -549,7 +549,7 @@ rmdir /tmp/qubes-modules-%kernelrelease
|
|||||||
mv /tmp/qubes-modules-%kernelrelease.img %vm_install_dir/modules.img
|
mv /tmp/qubes-modules-%kernelrelease.img %vm_install_dir/modules.img
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{name_suffix}" == ""
|
%if "%{?name_suffix}" == ""
|
||||||
# Set kernel as default VM kernel if we are the default package.
|
# Set kernel as default VM kernel if we are the default package.
|
||||||
|
|
||||||
# If qubes-prefs isn't installed yet, the default kernel will be set by %post
|
# If qubes-prefs isn't installed yet, the default kernel will be set by %post
|
||||||
|
Loading…
Reference in New Issue
Block a user