aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams8
1 files changed, 8 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 40797ad..8383610 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -17,6 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# This code is called for pbuilder and pbuilder inside pbuilder-uml;
+# pbuilder-uml calls uml-checkparams.
+
. /usr/lib/pbuilder/pbuilder-loadconfig
. /usr/lib/pbuilder/pbuilder-modules
@@ -30,6 +33,7 @@ USE_PKGNAME_LOGFILE=""
PRESERVE_BUILDPLACE="no"
unset EXTRA_CONFIGFILE || true
PBUILDER_DEBUGMODE=
+SAVE_AFTER_LOGIN=
#option for user-mode-linux only.
IGNORE_UMOUNT=""
@@ -178,6 +182,10 @@ while [ -n "$1" ]; do
USE_PDEBUILD_INTERNAL=yes;
shift;
;;
+ --save-after-login|--save-after-exec)
+ SAVE_AFTER_LOGIN=yes;
+ shift;
+ ;;
## internal options.
--internal-chrootexec)
# specify custom chrootexec function -- this is internal debugging function