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

Re: Bug#336732: /lib/modules/*/build symlink should be ignored when checking if kernel is installed



On Sun, Nov 06, 2005 at 03:38:26PM +0000, Martin Michlmayr wrote:
> * Manoj Srivastava <srivasta@debian.org> [2005-11-06 09:13]:
> > > Can you explain why it is a bug?  I think upstream puts header files
> > > in /lib/modules/<foo>/build/ too, so it's not as if this is a Debian
> > > specific thing.
> > 
> >         No, upstream does not put headers in that location, but a
> >  symbolic link.
> 
> The kernel-headers package only puts a symbolic link there, so this
> point is moot.
> 
> >         Can you explain to me why kernel-headers is not putting a
> >  script in /etc/kernel/postinst.d and /etc/kernel/prerm.d to
> >  optionally add and remove the build link?
> 
> Right, so what you're saying is that the headers package should create
> the symlink in postinst and prerm rather than shipping it in the .deb
> itself?
> 
> I don't know anything about kernel packaging, but this sounds like a
> good question and maybe someone from -kernel can take a look and think
> about this.

There is no reason that the linux-headers packages could not be used to build
out-of-tree modules using the symlink, without having the linux-image
installed, so this doesn't work, even though it looks like a seducing
proposal.

Friendly,

Sven Luther



Reply to: