Bug#795458: dahdi-linux: have a debian/README.source
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Aug 17 17:45:34 UTC 2015
On Mon, Aug 17, 2015 at 12:41:52PM +0200, Geert Stappers wrote:
> On Sun, Aug 16, 2015 at 10:55:44PM +0300, Tzafrir Cohen wrote:
> > On Fri, Aug 14, 2015 at 09:50:53AM +0200, Geert Stappers wrote:
> > >
> > > Please provide a debian/README.source that tells
> > > how to build the dahdi-linux package
> >
> > Quoting the top of README.Debian from dahdi-linux / dahdi-source:
> >
> > Building kernel modules
> > -----------------------
> > First, install dahdi-source package if you have not yet done so.
> >
> > You can build and install the modules package (as root) with the
> > following command:
> > # module-assistant a-i dahdi
> >
> >
>
> Benefits of knowning to build dahdi packages from
> Debian version control system:
>
> * Avoiding installing build dependencies on computer(s) with the DAHDI hardware
> * Building on faster computer
> * Having the workflow documented, making Aloith pkg-voip team stronger
The package has a script, intended for internal testing, that runs m-a
build at the end of the pacage build to build a modules package:
debian/modulestest .
Internally (in Xorcom) we have a modified package that builds kernel
modules at dahdi-linux package build time. The down side to that is that
you can only build modules for a single kernel (and have to set that
kernel version ahead of build time. We use an ugly hack to set that as
you really can't edit the build-depends in a package at build time.
So, are you looking for better documentation of debian/modulestest ?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
More information about the Pkg-voip-maintainers
mailing list