[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



* 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.

Thanks for the suggestion.
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: