aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 13866e6..467aabe 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -18,7 +18,6 @@ if [ ! -d "$BUILDPLACE" ]; then
echo "pbuilder: Could not make directory [$BUILDPLACE]" >&2
exit 1
fi
-mountproc
echo " -> running debootstrap"
( cd "$BUILDPLACE" && debootstrap "$DISTRIBUTION" . "$MIRRORSITE")
echo " -> debootstrap finished"
@@ -36,6 +35,7 @@ EOF
echo "Refreshing the base.tgz "
echo " -> upgrading packages"
+mountproc
$CHROOTEXEC /usr/bin/apt-get update
$CHROOTEXEC /usr/bin/dpkg --purge lilo
$CHROOTEXEC /usr/bin/apt-get -y dist-upgrade