Bug#795458: dahdi-linux: have a debian/README.source

Tzafrir Cohen tzafrir at cohens.org.il
Tue Sep 20 21:02:24 UTC 2016


On Mon, Aug 17, 2015 at 08:45:34PM +0300, Tzafrir Cohen wrote:
> 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 ?

Documenting this more explicitly in the README.Debian and closing the
bug.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Pkg-voip-maintainers mailing list