pbuilder custom configurations
Par MadCoder,
Tuesday 27 June 2006 à 01:06 ::
Debian
I've noticed many times that people don't really use pbuilder with all the power and flexibility it allows. A lot of people don't want to mess up with the configuration files or write their own hooks, whereas it's quite simple, and powerful.
Here are the dotfiles I use with my pbuilder install:
The features those files provides are:
- the built packages are in ~/debian/results/$(pkg_name)_$(pkg_version) instead of the whole mess in /var/cache/pbuilder/results;
- this directory is used as an extra local apt source (useful to build packages depending upon not already available packages and test build-depends);
- use of ccache (thanks to isaac's idea);
- automatic launch of a shell in the pbuilder chroot if the build fails (installing zsh and vim before);
- automatic run of the list-missing target (for cdbs-aware packages that include /usr/share/cdbs/1/rules/utils.mk);
- automatic run of lintian over the packages, and stores the lintian report in ~/debian/results/$(...)/lintian.
There is nothing very new here, but it's a complete setup that some recent/lazy pbuilder users may find useful (it should not need any big modification to be used on anyone's computer).
Also note that the linked files are the one I really use, and that it's meant to evolve with time.

Commentaires
1. Le Tuesday 27 June 2006 à 15:09, par Des :: site
Ajouter un commentaire