[Voyage-linux] Building kernel modules the Debian way
Kim-man 'Punky' TSE
(spam-protected)
Fri Jun 23 09:17:00 HKT 2006
Mike,
Download the 3 files:
http://www.voyage.hk/dists/0.2/madwifi-ng/madwifi-ng_0.9.0+svn1408-1.dsc
http://www.voyage.hk/dists/0.2/madwifi-ng/madwifi-ng_0.9.0+svn1408-1.diff.gz
http://www.voyage.hk/dists/0.2/madwifi-ng/madwifi-ng_0.9.0+svn1408.orig.tar.gz
and run
dpkg-source -x madwifi-ng_0.9.0+svn1408-1.dsc
go to the source directory generated by dpkg-source and run
debuild
this will generate madwifi-ng-source, madwifi-ng-tools and
madwifi-ng-dev deb packages.
To build module with your own version/revision naming:
DEBKPKG_REV="3.0-1"
DEBKPKG_FLAVOUR="-486"
DEBKPKG_SUFFIX="voyage"
$ADD_MOD="madwifi-ng"
make-kpkg --revision=$DEBKPKG_REV \
--append-to-version "$DEBKPKG_FLAVOUR-$DEBKPKG_SUFFIX" \
$ADD_MOD modules-image
Regards,
Punky
Mike O'Connor wrote:
> Hi All
>
> I wanted to build a particular versions of the madwifi-ng drives which I
> was able to do by download and installing the following.
>
> kernel-source-2.6.15-voyage_2.0-9_all.deb
> madwifi-ng-source_0.9.0+svn1408-1_all.deb
>
> I then checkout the version I wanted and and placed it in the
> /usr/src/modules in place of the original madwifi tools.
> I then copied in the debian directory and adjusted the change log.
>
> This all build and I ended with kernel and modules deb packages.
>
> The issue is I can not work out how to build the madwifi-ng-tools there
> does not seem the be any requirement for them to be build in the control
> or rules files.
>
> How was this done originally ?
>
> Also how do I make the name more like the normal voyage deb packages,
> mine are like this
> madwifi-ng-modules-2.6.15_0.9.0+svn1648-1+10.00.Custom_i386.deb
>
> Thanks
> Mike
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock!
More information about the Voyage-linux
mailing list