Bug#398404: pbuilder: switchable configuration files with "--use suffix"

Osamu Aoki osamu at debian.org
Sat Jun 7 02:58:24 UTC 2008


package pbuilder
tags 398404 patch
Package: pbuilder
Version: 0.181
Followup-For: Bug #398404

It is waist of typing to specify long --basetgz [basetgz-location] and
other options on command line or editing ${HOME}/.pbuilderrc contents.

There should be an easier way to switch configuration files.  This is
useful not only for bpo but also experimental support etc.

I propose to add "--use suffix" commadline which is placed before any
other options.  Anyway, see my patch.  This provides fix not only for
this bug 398404 but also addresses other wishlist bugs.
 373807 (one base.tzg per distribution by "--use dists")
 324000 (At least with new "I: ...", it is obvious which files are sourced)
 272354 (Something described here by Loïc Minier and normal sid build
         can be done cleanly switched with this patch.  Also original
         bug report wish may be addressed by "--use stable"
         configuration specifying OTHERDISTRIBUTION pointing to security
         archive Of course, we need to implement OTHERDISTRIBUTION which
         is not yet done in here.)

Oh, I did not include but it may be interesting to create several
prepackaged files such as /usr/share/pbuilder/pbuilderrc.bpo where
OTHERMIRROR and  OTHERDISTRIBUTION (this needs to be done) are specified
to point to security and bpo while DISTRIBUTION is etch.

Since how to cleanly implement OTHERDISTRIBUTION for each OTHERMIRROR, I
leave that as next action item and provide very basic switching
functionality now.  OTHERDISTRIBUTIO will be next step.

Osamu

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.2      Bootstrap a Debian system
ii  coreutils                     6.10-6     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  debianutils                   2.28.6     Miscellaneous utilities specific t
ii  debootstrap                   1.0.9      Bootstrap a basic Debian system
ii  gcc                           4:4.3.0-8  The GNU C compiler
ii  wget                          1.11.2-1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  cowdancer                     0.47       Copy-on-write directory tree utili
ii  devscripts                    2.10.29    scripts to make the life of a Debi
ii  fakeroot                      1.9.5      Gives a fake root environment
ii  sudo                          1.6.9p15-2 Provide limited super user privile

-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usesuffix.patch
Type: text/x-diff
Size: 4069 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080607/e478902e/attachment.patch 


More information about the Pbuilder-maint mailing list