[pkg-fso-maint] Running depmod after installing the kernel

Luca Capello luca at pca.it
Tue Jun 30 09:58:29 UTC 2009


Hi there!

On Thu, 25 Jun 2009 09:46:11 +0200, Nikita V. Youshchenko wrote:
>> FYI, I just noticed on my NSLU2 that depmod is run in the kernel’s
>> postinst, not during the build:
>>
>> Richte linux-image-2.6.26-2-ixp4xx ein (2.6.26-15lenny3) ...

FWIW this is a stock Debian kernel.

> Since module dependency file should be modified when packages providing 
> kernel modules are installed, that file can't be statically installed with 
> the kernel package.
>
> That's why depmod runs in postinst, both of kernel and of module-providing 
> packages.

This was already discussed at:

  http://lists.linuxtogo.org/pipermail/smartphones-standards/2008-October/000630.html

The depmod command from the install.sh script was removed when the
Debian kernel package was firstly added:

  http://git.debian.org/?p=pkg-fso/files.git;a=commit;h=31468024511533c847857202091cf8f58944784d

I am for moving depmod at kernel installation stage (where it belongs),
but I have not found the time yet to do it and IMHO there are more
important issues WRT the kernel:

  http://lists.linuxtogo.org/pipermail/smartphones-userland/2009-June/001601.html

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090630/9c4defcf/attachment.pgp>


More information about the pkg-fso-maint mailing list