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

2016-09-20 Thread Tzafrir Cohen
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 | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend



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

2015-08-17 Thread Geert Stappers
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


Cheers
Geert Stappers



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

2015-08-17 Thread Tzafrir Cohen
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.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com