[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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 6 Nov 2005 19:21:58 +0100
Sven Luther <sven.luther@wanadoo.fr> wrote:

>   Manoj's argument : 
> 
>     the build symlink is currently buggy, and should be either part
> of the kernel-image package or created at kernel-image install time.

I believe sven missed to comment on this early remark by Manoj:

>         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?

As I understand it, Manoj suggested to _optionally_ create/remove the
symlinks in _kernel-headers_ packages.


>   Pro : Well, i will let manoj's reply here, didn't find any pro item
> myself.
> 
>   Con : doesn't allow building out of tree module without installing
>     linux-image for every flavour we want to build too, and as we
> were trying to make this policy for module builds ...

Wrong - if I understand correctly that Manoj was referring to -headers
packages and not -image packages.


>   Martin's solution : instead of looking at
> only /lib/modules/<version> to see if modules where installed,
> actually do a find /lib/modules/<version> -name \*.ko, and search for
> real modules.

As I understand it Martin actually agreed with Manoj in his latest
email (20051106153826.GA24360@deprecation.cyrius.com).


I also believe this to be the most sane approach.


> There are other stuff involved, in that over the years, k-p has been
> more and more losing touch with the reality of the official kernel
> packages,

...so he now suggests to move this out to a hook instead of hardcoded
in k-p.

I certainly feel this is sane!



 - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDblNDn7DbMsAkQLgRAhEVAKCSOzzakHgl0Le6e3CZ9z8tACiygwCePYzZ
mmOuHPSXYk810gsRkhnUifM=
=eaYj
-----END PGP SIGNATURE-----



Reply to: