You are not logged in.

#1 2008-01-15 10:56:08

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

kernel module packages

Is there a way to get a list of all kernel module packages in all repos?

I have created a custom kernel package and would like to create all corresponding kernel module packages (such as nvidia) for this custom kernel as well.

Thanks,
Raymano


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#2 2008-01-16 02:15:16

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: kernel module packages

Not really, but you could use something like this:

find /var/abs/ -name PKGBUILD | xargs grep "depends=.*kernel26"
find /var/abs/ -name '*.install' | xargs grep depmod


1000

Offline

#3 2008-01-16 03:38:04

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: kernel module packages

Thank you very much. That'll give me what I need.

I wish archlinux had a naming convention for such packages to make them simpler to distinguish without the need to get the entire abs tree to find them. Such as:

kernelmodule-ipw3945
kernelmodule-nvidia

Or for the mm kernel:

kernelmodule-ipw3945-mm
kernelmodule-nvidia-mm

Last edited by raymano (2008-01-16 03:41:38)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#4 2008-01-16 04:51:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: kernel module packages

Not needed - the number of kernel modules supplied by packages *should* be so low that they can be easily tracked "manually" (i.e. within a custom recompilation script).

Just compile a new kernel version, then see what kernel modules are missing.

Offline

#5 2008-01-16 05:53:38

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: kernel module packages

How can you tell if something is missing when you don't know what you are looking for?


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#6 2008-01-16 06:19:59

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: kernel module packages

It's obvious what to look for - a "kernel module not found" error message. Programs not working.

Offline

#7 2008-01-16 06:51:01

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: kernel module packages

That's all fine and dandy if you are doing it for one system but not when you are building a distribution that will run on hardware you don't know anything about.

http://www.faunos.com

Things aren't always as obvious as they might seem.

Last edited by raymano (2008-01-16 06:52:45)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#8 2008-01-16 07:08:37

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: kernel module packages

That argument doesn't make much sense. If you don't know anything about the hardware, how are you supposed to *test* your packages?

Offline

#9 2008-01-16 07:12:25

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: kernel module packages

Ok.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

Board footer

Powered by FluxBB