severity 579506 minor
retitle 579506 --configfile option doesn't pick non standard options from original config files
thanks
Hmhm, sorry, I take that back. Only the non-standard options defined
in .pbuilderrc are not taken in the file passed by --configfile.
For example I define in .pbuilderrc
arch="amd64"
DISTRIBUTION=sid
BASEDIR=$HOME/debian/pbuilder
BASEPATH=$BASEDIR/base-${DISTRIBUTION}-${arch}.cow
and in .pbuilderrc-experimental-amd64 I do:
DISTRIBUTION=experimental
BASEPATH=$BASEDIR/base-${DISTRIBUTION}-${arch}.cow
then dumpconfig shows:
basepath: /base-experimental-amd64.cow
while if I redefine BASEDIR=$HOME/debian/pbuilder
in .pbuilderrc-experimental-amd64 it does work fine.
I guess it makes sense, but it'd be nice if all the variables where
taken from the original config file. I know the manpage says unknown
options are ignored, but the current behavior (which ignores them but
treat them correctly when they are used to defined known options) is
really helpful.
Thanks for your attention :)