mbox series

[v2,0/5] builddeb: make deb building more flexible

Message ID 20210525230139.6165-1-bage@linutronix.de (mailing list archive)
Headers show
Series builddeb: make deb building more flexible | expand

Message

Bastian Germann May 25, 2021, 11:01 p.m. UTC
From: Bastian Germann <bage@linutronix.de>

Building Debian packages via the [bin]deb-pkg make targets has some
shortcomings. These targets do not allow for packing a Debian source
package independently from actually building the binary package.

This series improves that process by making it possible to rebuild
the packages without errors via dpkg-buildpackage, by separating
source package creation from binary package building, and by making
the dbg package build optional.

Changelog v2:
  * Drop "use standard format for copyright file" (equivalent available)
  * Enable parallel builds (via ordered make target dependencies)
  * Include previously excluded top-level files in tarball
  * Other minor suggestions by Masahiro

Bastian Germann (5):
  builddeb: ignore or export files for clean pkg build
  builddeb: set CC on cross build to prefixed gcc
  builddeb: clean generated package content
  builddeb: introduce profile excluding the dbg pkg
  kbuild: introduce srcdeb-pkg target

 scripts/Makefile.package | 11 +++++++++--
 scripts/package/mkdebian | 13 ++++++++++++-
 2 files changed, 21 insertions(+), 3 deletions(-)

Comments

Bastian Germann June 28, 2021, 6:46 p.m. UTC | #1
Am 26.05.21 um 01:01 schrieb bage@linutronix.de:
> From: Bastian Germann <bage@linutronix.de>
> 
> Building Debian packages via the [bin]deb-pkg make targets has some
> shortcomings. These targets do not allow for packing a Debian source
> package independently from actually building the binary package.
> 
> This series improves that process by making it possible to rebuild
> the packages without errors via dpkg-buildpackage, by separating
> source package creation from binary package building, and by making
> the dbg package build optional.
> 
> Changelog v2:
>    * Drop "use standard format for copyright file" (equivalent available)
>    * Enable parallel builds (via ordered make target dependencies)
>    * Include previously excluded top-level files in tarball
>    * Other minor suggestions by Masahiro
> 
> Bastian Germann (5):
>    builddeb: ignore or export files for clean pkg build
>    builddeb: set CC on cross build to prefixed gcc
>    builddeb: clean generated package content
>    builddeb: introduce profile excluding the dbg pkg
>    kbuild: introduce srcdeb-pkg target
> 
>   scripts/Makefile.package | 11 +++++++++--
>   scripts/package/mkdebian | 13 ++++++++++++-
>   2 files changed, 21 insertions(+), 3 deletions(-)

Gentle ping after a month without reply.