[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#261776: kernel-headers-2.4.26-1-686: Missing Makefile



On Tue, Jul 27, 2004 at 11:04:54PM -0700, Bill Wohler wrote:
> Package: kernel-headers-2.4.26-1-686
> Version: 2.4.26-2
> Severity: normal
> 
> I can't build modules correctly without it.
> 
> For example, if I link /usr/src/linux to kernel-headers-2.4.26-1-686,
> then make-kpkg --rootcmd=fakeroot modules_images fails to build modules
> (for example, thinkpad-source). If I link /usr/src/linux to
> kernel-headers-2.4.26-1 (which has a Makefile), then I do get a .deb,
> but it installs in /lib/modules/2.4.26-1 instead of
> /lib/modules/2.4.26-1-686 where my kernel expects to find it. I found
> that if I did this:
> 
>   mkdir /usr/src/linux
>   cd /usr/src/linux
>   ln -s ../kernel-headers-2.4.26-1-686/include
>   ln -s ../kernel-headers-2.4.26-1/kernel-headers.revision
>   ln -s ../kernel-headers-2.4.26-1/Makefile
>   make-kpkg --rootcmd=fakeroot modules_image
> 
> I was able to build a .deb which installed the modules into the right
> directory /lib/modules/2.4.26-1-686.
> 
> If the Makefile and presumably kernel-headers.revision file were already
> there, I'd be golden.

Hi Bill,

that sounds like a reasonable suggestion.
Would it be sufficient to provide the Makefile and
kernel-headers.revision as sumlinks back to ../kernel-headers-2.4.26-1.
Most if what is under kernel-headers-2.4.26-1-* are symlinks back to
kernel-headers-2.4.26-1.

If this does help I can make a package available for you to test.
Though I probably won't push a new package up to debian.org just for
this change.

-- 
Horms



Reply to: