Git-buildpackage

From Wikitech
(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
* Package build was attempted without signing: <tt>git-buildpackage --git-ignore-new --git-pristine-tar -us -uc</tt>
 
* Package build was attempted without signing: <tt>git-buildpackage --git-ignore-new --git-pristine-tar -us -uc</tt>
 
* This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
 
* This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
 +
* The git working directory was made clean again, and another build was attempted using <tt>git-buildpackage --git-ignore-new --git-pristine-tar -us -uc --git-export-dir=/var/tmp/build-area/puppet</tt>
 +
* This worked as well. Packages were being built, and the git working dir remained clean.
  
 
[[Category:Ubuntu]] [[Category:Package management]]
 
[[Category:Ubuntu]] [[Category:Package management]]

Revision as of 13:32, 23 November 2011

(To be written up once experimentation is done.)

Experiments

Mark is experimenting with building puppet using git-buildpackage, in labs.

On i-00000080:

  • The debian puppet package git repository was cloned into ~/git/debs/puppet
  • Package build was attempted with git-buildpackage --git-ignore-new --git-pristine-tar
  • Signing the package failed, as the Debian maintainer's secret key is not available.
  • Package build was attempted without signing: git-buildpackage --git-ignore-new --git-pristine-tar -us -uc
  • This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
  • The git working directory was made clean again, and another build was attempted using git-buildpackage --git-ignore-new --git-pristine-tar -us -uc --git-export-dir=/var/tmp/build-area/puppet
  • This worked as well. Packages were being built, and the git working dir remained clean.
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox