Re: "AOL-level help request": Packaging drivers that require kernel/pcmcia-cs source
Matt Zimmerman wrote:
> As usual, the best place to start looking is with an example from someone
> else's work. Check out the PCMCIA packages, for instance, which require
> kernel sources in order to build. There is a convention for kernel module
> packages that build this way, so that when the user builds their custom
> kernel, the modules are built along with it.
Use PCMCIA-CS as an example? Uh, um, why didn't I think of that
(Doh!)? [ God, know I'm really embarrassed, because our ./configure and
Makefile are based on old PCMCIA-CS ones (that I need to modernized
sooner or later) ;-P ]
> Essentially, you deposit a tarball in /usr/src, and the user is expected to
> extract it when they build their kernel, signalling that it should be
> included in the build. make-kpkg then runs scripts in the unpacked tree to
> build the modules at the appropriate time.
Again, I guess I need to get a little more familar with kernel building
on Debian from a user/sysadmin standpoint.
-- TheBS
--
Bryan "TheBS" Smith mailto:b.j.smith@ieee.org chat:thebs413
Engineer AbsoluteValue Systems, Inc. http://www.linux-wlan.org
President SmithConcepts, Inc. http://www.SmithConcepts.com
----------------------------------------------------------------
"in a situation where you have someone against you ... an ac-
cusation ... can lead to time in jail. This fear can be more
effective in controlling a group of people than the enforcement
of the law as is. -- Joao Miguel Neves on the US DMCA and EU CD
Reply to: