Chapter 2.  Setting up for packaging

Table of Contents

An OS for the packaging host
Installing packages necessary for packaging
GPG keys
Build Chain Setup
Setting up gpg-agent
Environment for dpkg-buildpackage

As of this writing, Precise is the Long Time Support version of Debian-based Ubuntu. Ubuntu comes with configuration to build packages in chrooted versions of both Debian and Ubuntu, whereas on Debian, the configuration for Ubuntu must be added. So for this tutorial, we use Ubuntu Precise with a fairly complete set of packages already. Editors, version control, compilers etc. all are present. But a few packages that are quite specific to package building still need to be installed...