[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"AOL-level help request": Packaging drivers that require kernel/pcmcia-cs source



Hello.  My name is Bryan "TheBS" Smith of AbsoluteValue Systems, Inc. 
We're the Linux-WLAN guys and have released drivers for Intersil-based
wireless LAN cards.  I'm almost completely new to Debian both as a user
and a packager, but have been quite impressed so far coming from the
RedHat/RPM world.

As such, this is going to be almost an "AOL-level" help request.  I'm
very sorry for this.  All I'm looking for is a little direction, and
I'll RTFM the rest.  I've gone through much of the FAQ, Developer's
Reference and New Maintainer's Guide, and I'm a bit "overwhelmed" to say
the least.  I've downloaded the "hello" source package as well as
"alsa-driver," trying to see how things are done -- but am confused on
the .diff.gz, .desc, orig.tar.gz I get from apt-get source blah, versus
what the docs say about "control files", etc...

I guess I just need someone to say, "for that, read this".

First off, again, I'm kinda confused on where to begin (yeah, like you
haven't heard that before, I know ;-).  Is dh_make where I should start
(our package is just a tarball)?  Heck, I'm just trying to find the
"equivalent" to a RedHat SPEC file, the --bb/--rebuild options, etc...
(yes, I know, dpkg is _much_more_flexible_ than RPM/SPEC ;-).

Secondly, our drivers require both kernel and pcmcia-cs source to build
against.  So I need to find a way to download the appropriate source
packages if the user has not built customized ones (and dpkg/apt seems
like it can do this, whereas RPM cannot ;-).  [ I assume the
kernel-source packages come with the same .config as their equivalent
kernel-image packages were built with? ]  Where do I put a script/info
in to do this (I think it is just more than a dependencies link?)?

Third, eventually, I'd like to get this into the main Debian archive. 
It would be very much like ALSA, where you download the source package
and build it against your kernel source, but also against pcmcia-cs. 
But I'll tackle this when I actually have a package built and working. 
;-PPP

Thanx in advance and I'm really sorry about the "AOL-level" of the
questions asked here.

-- 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
----------------------------------------------------------------
"The [US] Constitution guarantees you Free, not Fair.  'Fair' is
a socialist concept." -- Shawn McMahon



Reply to: