From ecaad3f15e2fc941865a0426bd989a5dbb075972 Mon Sep 17 00:00:00 2001 From: dancer Date: Tue, 28 Aug 2001 10:55:34 +0000 Subject: moved mountproc position in createenv. debootstrap doesn't like seeing an already mounted proc --- pbuilder-createbuildenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-createbuildenv') 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 -- cgit v1.2.3