On Wed, Jun 23, 2004 at 06:29:47PM +0200, Arjan van de Ven wrote:
On Wed, Jun 23, 2004 at 10:27:27AM -0600, Michal Jaegermann wrote:
> On Wed, Jun 23, 2004 at 05:56:29PM +0200, Arjan van de Ven wrote:
> >
> > in FC2 you ALREADY cannot use kernel-sourcecode for building modules
> > against so the change is a lot smaller than you make it out to be.
>
> Eh? The funny thing is that I did with FC2 and results even
> worked. :-)
>
> %{_make_cmd} KERNEL_DIR=/lib/modules/%{kname}/build drivers
> %if %{?kmods_only:0}%{!?kmods_only:1}
> %{_make_cmd} KERNEL_DIR=/lib/modules/%{kname}/build
... and this is where you make a wrong assumption; these headers you use are
*NOT* part of kernel-sourcecode, so your nice rpm doesn't use
kernel-sourcecode..... :)
Indeed. /lib/modules/%{kname}/build is now a directory while it
used to be a link in the past. I have to admit that I did not
think over all implications yet. I took rpm which I was using
before with 2.4 and it just worked. :-)
Michal