aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2004-04-06 21:37:42 +0000
committerdancer <dancer>2004-04-06 21:37:42 +0000
commit02ab1841358a4935da3c3b3922ebc930da4c8edb (patch)
tree8e6b6507db1c957502284673fd620bcdd899314e /pbuilder-checkparams
parent9470b31c1966be55bce5d4edf5c68dd133b68e37 (diff)
downloadpbuilder-02ab1841358a4935da3c3b3922ebc930da4c8edb.tar
pbuilder-02ab1841358a4935da3c3b3922ebc930da4c8edb.tar.gz
+ * Implement --variant=buildd support, thanks for Daniel Schepler
+ for the work on debootstrap side. + Note that this change does not affect user-mode-linux, since + user-mode-linux version uses rootstrap + (closes: #154528)
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams8
1 files changed, 6 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index b9e5cf1..00adfbf 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -1,7 +1,7 @@
#! /bin/bash
# this is sourced from pbuilder packages to process the optional parameters.
# pbuilder -- personal Debian package builder
-# Copyright (C) 2001-2003 Junichi Uekawa
+# Copyright (C) 2001-2004 Junichi Uekawa
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -173,6 +173,11 @@ while [ -n "$1" ]; do
USE_PDEBUILD_INTERNAL=yes;
shift;
;;
+ --debootstrapopts)
+ # specify this option to set --variant=buildd value to debootstrap
+ DEBOOTSTRAPOPTS[${#DEBOOTSTRAPOPTS[@]}]="$2";
+ shift; shift;
+ ;;
## internal options.
--internal-chrootexec)
# specify custom chrootexec function -- this is internal debugging function
@@ -197,7 +202,6 @@ while [ -n "$1" ]; do
IGNORE_UMOUNT="yes"
shift;
;;
-
--) # end of processing for this
shift;
break;