Re: XZ support in kmod.udeb
On Fri, Aug 23, 2024 at 12:39:14AM +0200, Pascal Hambourg wrote:
> On 22/08/2024 at 18:50, Bastian Blank wrote:
> > On Thu, Aug 22, 2024 at 04:38:30PM +0200, Marco d'Itri wrote:
> > >
> > > So, does d-i actually use depmod or modinfo?
> >
> > Yes, it does. I think we should get rid of it however.
> >
> > | % grep ^depmod -B 3 -A 2 kernel-wedge-2.105/commands/copy-modules
> > | if [ "$os" = linux ]; then
> > | cat >"debian/$i-$version-di.postinst" <<EOF
> > | #!/bin/sh -e
> > | depmod $installedname
> > | EOF
> > | fi
>
> depmod and modinfo are used by other udeb packages (partman, hw-detect...).
All the depmod calls are not needed, as the kernel packages are the sole
responsible ones.
For modinfo, hw-detect tries to extract the description of the modules
to give users a list for manual loading. Under what circumstances will
udev not auto load the module, but manual loading will result in
something working?
Bastian
--
Schshschshchsch.
-- The Gorn, "Arena", stardate 3046.2
Reply to: