aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder9
-rw-r--r--pbuilder.112
2 files changed, 21 insertions, 0 deletions
diff --git a/pbuilder b/pbuilder
index 99f109a..862aa61 100755
--- a/pbuilder
+++ b/pbuilder
@@ -27,6 +27,15 @@ case "$1" in
echo "Cleaning [$BUILDPLACE]"
test -n "$BUILDPLACE" && rm -rf "$BUILDPLACE"/*
;;
+ login)
+ shift
+ . /usr/lib/pbuilder/pbuilder-checkparams
+ extractbuildplace
+ echo " -> entering the shell"
+ chroot "$BUILDPLACE" bin/bash
+ umountproc
+ cleanbuildplace
+ ;;
*)
. /usr/lib/pbuilder/pbuilder-modules
showhelp
diff --git a/pbuilder.1 b/pbuilder.1
index d52e054..76a3563 100644
--- a/pbuilder.1
+++ b/pbuilder.1
@@ -7,6 +7,10 @@ pbuilder \- personal package builder
.BI "pbuilder update [" "options" "]"
.PP
.BI "pbuilder build [" "options" "] " ".dsc-file"
+.PP
+.BI "pbuilder clean"
+.PP
+.BI "pbuilder login"
.SH DESCRIPTION
Front end program to the
.B "pbuilder"
@@ -18,23 +22,31 @@ and building Debian package in the chroot environment.
Creates a
.B "base.tgz"
for the specified distribution.
+
.TP
.B "update"
Updates the
.B "base.tgz"
for the specified distribution.
+
.TP
.B "build"
Builds the package specified by
.I ".dsc-file"
in the chroot environment created using the
.B "base.tgz"
+
.TP
.B "clean"
Cleans up the directory specified by the configuration
.B "BUILDPLACE"
specified in
.I "/etc/pbuilderrc"
+
+.TP
+.B "login"
+Logs into the chroot, and cleaned up afterwards.
+Any changes you make will not be kept.
.TP
.BI "--basetgz [" "basetgz-location" "]"
Specifies the location of