DKMS release

Thomas_Chenault at Thomas_Chenault at
Mon Aug 24 18:07:08 CDT 2009

I have verified that the fix proposed below works on RHEL5.3 and SLES11.
I have not encountered any other difficulties with the new code.


Mario Limonciello wrote:
> Thomas:
> I can confirm that works still on F11, so if that fixes RHEL 5.3 and
> SLES 11, I'll do a follow up bug fix release with that in place.
> Any other gotchas that you saw on RHEL 5.3 with the changes that were
> Chenault, Thomas wrote:
>> Yes, Fedora 11 defines _datarootdir as:
>>     %_datarootdir      %{_prefix}/share
>> Fedora 11 also defines _datadir as:
>>     %_datadir          %{_datarootdir}
>> As far as I can tell, RHEL5 and SLES11 do not define _datarootdir,
>> they do both define _datadir: 
>>     %_datadir          %{_prefix}/share
>> Adding the following to the top of template-dkms-mkrpm.spec might be
>> adequate solution.
>>     %{?!_datarootdir: %define _datarootdir %{_datadir}}

More information about the DKMS-devel mailing list