Thu, 10 Aug 2006

Important pbuilder commands

sudo pbuilder create --distribution sarge
sudo pbuilder update --override-config --distribution sid

pdebuild
   // run this in the directory with source files (above debian/)
   // it builds a deb in /var/cache/pbuilder/results

note that presently pbuilder (sid) uses gcc-4.0 and g++-4.0, which may not be
appropriate for your package.

sudo pbuilder clean

------

piuparts - to check for proper dependencies and whether package install
properly in unstable after completing the build process

cd to the source build directory (above debian/)

    piuparts ../bbmail-0.8.3_i386.deb

------

Building the final package:

// check which complier is default

cd to the source build directory (above debian/)

    dpkg-buildpackage -rfakeroot -k8CE11941

Posted at: 21:27 | category: /dev | Comments ()