Re: Linux headed for disaster?

David Woodhouse (David.Woodhouse@mvhi.com)
Mon, 06 Dec 1999 14:59:01 +0000


alan@lxorguk.ukuu.org.uk said:
> What we need to get better if anything are the tools for building
> modules for users transparently. So I can for example do

> rpm --install emu10k.i386.rpm

> and have it build my a SBLive! module for my system and do the
> dependancies. Ditto for dpkg.

I've built RPMS which do this. Goes something like...

%post
cd /usr/applicom/kernel
make -C /usr/src/linux SUBDIRS=`pwd` modules
cp applicom.o /lib/modules/`uname -r`/misc

Of course, you are depending on the kernel-source RPM then, which many people
don't install. Perhaps the top-level Makefile and Rules.make ought to be part
of the kernel-headers RPM instead.

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/