spec: fix vm-kernel dir name

Use simple x.y.z-r instead of x.y.z-r.pvops.qubes
This commit is contained in:
Marek Marczykowski 2012-06-14 02:52:26 +02:00
parent 3541d3d012
commit a1eea48862

View File

@ -4,7 +4,8 @@
#%define _unpackaged_files_terminate_build 0
%define variant %{build_flavor}.qubes
%define rel %(cat rel-%{build_flavor}).%{variant}
%define plainrel %(cat rel-%{build_flavor})
%define rel %{plainrel}.%{variant}
%define version %(cat version-%{build_flavor})
%define _buildshell /bin/bash
@ -19,7 +20,7 @@
%define build_src_dir %my_builddir/linux-%version
%define src_install_dir /usr/src/kernels/%kernelrelease
%define kernel_build_dir %my_builddir/linux-obj
%define vm_install_dir /var/lib/qubes/vm-kernels/%version-%rel
%define vm_install_dir /var/lib/qubes/vm-kernels/%version-%{plainrel}
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes})
@ -442,7 +443,7 @@ umount /tmp/qubes-modules-%kernelrelease
rmdir /tmp/qubes-modules-%kernelrelease
mv /tmp/qubes-modules-%kernelrelease.img %vm_install_dir/modules.img
qubes-prefs --set default-kernel %version
qubes-prefs --set default-kernel %version-%plainrel
%files qubes-vm
%defattr(-, root, root)