aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2003-10-27 22:42:00 +0000
committerdancer <dancer>2003-10-27 22:42:00 +0000
commit0767bf9a5d86e18c4571205a9e1b8ee3f1ea6f4b (patch)
tree9a1c567a7877195edc13cf7d447b1da5fe653593 /pbuilder-checkparams
parentade47e36dd3a52ad8fbd4781f38980e8e70ef905 (diff)
downloadpbuilder-0767bf9a5d86e18c4571205a9e1b8ee3f1ea6f4b.tar
pbuilder-0767bf9a5d86e18c4571205a9e1b8ee3f1ea6f4b.tar.gz
+2003-10-28 Junichi Uekawa <dancer@debian.org>
+ + * pdebuild.1: pbuilder will use the config file that is specified + as pdebuild command-line. + + * pdebuild (ARCHITECTURE): Add --configfile to the call to pbuilder + invocation. + + * pbuilder-checkparams (IGNORE_UMOUNT): EXTRA_CONFIGFILE is an array + containing the list of CONFIGFILEs loaded via --configfile. + + * pbuilder-user-mode-linux: rename variable that looked similar to + other variable. CONFIGFILE->SYSTEM_CONFIG. + + * pbuilder-checkparams (IGNORE_UMOUNT): add error check to --configfile option + + * pbuilderrc.5: update docs on BUILDRESULT not effective on + pdebuild. + + * pdebuild.1: add notes on pdebuild requiring buildresult to be + specified. +
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 4f0c1ef..96cdb1a 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -28,6 +28,7 @@ BINARY_ARCH="no"
PBUILDER_BUILD_LOGFILE=
USE_PKGNAME_LOGFILE=""
PRESERVE_BUILDPLACE="no"
+unset EXTRA_CONFIGFILE
#option for user-mode-linux only.
IGNORE_UMOUNT=""
@@ -91,7 +92,12 @@ while [ -n "$1" ]; do
shift; shift;
;;
--configfile)
+ if [ ! -f "$2" ]; then
+ echo "E: Config file $2 does not exist" >&2
+ exit 1
+ fi
. "$2";
+ EXTRA_CONFIGFILE[${#EXTRA_CONFIGFILE[@]}]="$2";
shift; shift;
;;
--extrapackages)