qubes-linux-utils/kernel-modules/u2mfn
Marek Marczykowski-Górecki e7c90c705f
Declare u2mfn module version, skip build for qubes kernels
This will allow dkms to skip u2mfn module install if one is already
shipped with the kernel package - which is the case for kernels
delivered through dom0.
Make the version high enough to be considered newer than dkms package.

Sadly, it does not prevent module build. And the build fails becaue of
mismatching compiler version (kernel headers include gcc plugins).
Skip the build by setting BUILD_EXCLUSIVE_KERNEL in dkms.conf. Ideally,
we'd set some value indicating "don't build on kernel *qubes*", but
this variable does not support negation. So, set this variable to a
dummy value after manually checking $kernelver variable.

Fixes QubesOS/qubes-issues#4963
2019-06-05 18:21:49 +02:00
..
dkms.conf.in Declare u2mfn module version, skip build for qubes kernels 2019-06-05 18:21:49 +02:00
Makefile Add VM kernel related files as qubes-core-vm-kernel-support package 2015-03-25 23:25:33 +01:00
u2mfn.c Declare u2mfn module version, skip build for qubes kernels 2019-06-05 18:21:49 +02:00