[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: First steps towards source-only uploads


On Mon, 2014-08-04 at 02:35:46 -0400, Joey Hess wrote:
> #756975 dpkg-dev: dpkg-genchanges option to only include arch:all debs

This is now available in dpkg 1.17.11, and as mentioned on the bug
report, you can use it in at least these ways:

  # Source and arch-indep only build, will fail if the package does
  # not produce any arch-indep binary, in which case you'd use -S.
  $ dpkg-buildpackage -g


  # Full build, but filter the generated .changes file to only inlcude
  # source and possibly arch-indep binaries, will not fail if the
  # latter are missing.
  $ dpkg-buildpackage --changes-option=-g

The advantage of the second is that the package is fully built so that
the maintainer can test that it builds and can install and test the
resulting packages. Unfortunately as arch-specific packages are filtered
out from the .changes file, lintian will not be able to find them. So you
migth want to do a normal build followed by one with either -S or -g.


Reply to: