Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Building the Debian Package: First Time


Now you are ready to build and check the new package:

  $ dpkg-buildpackage -rfakeroot

This will ask for your GPG key secret pass phrase, twice. Did I tell you that you needed to create this first? See Section 86.7.

The appropriate package files are placed into the parent directory and are: wajig_2.0.20-1_i386.changes, wajig_2.0.20-1.dsc, wajig_2.0.20-1_all.deb, and wajig_2.0.20-1.diff.gz

Now check it all looks okay.

  $ cd .. 
  $ lintian -i wajig_2.0.20-1_i386.changes
  $ linda -i wajig_2.0.20-1_i386.changes

Typical ``errors'' can be fixed by removing the debian/README.Debian file if you have not changed it and leaving the ``*.ex'' files in the debian directory (remove them). There are often suggestions as to how to fix the errors.


Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version