aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2001-08-28 10:55:34 +0000
committerdancer <dancer>2001-08-28 10:55:34 +0000
commitecaad3f15e2fc941865a0426bd989a5dbb075972 (patch)
treeccc205f98438ae29e158b6635efa75ac6bc442ad
parent6686d17c17cbd0d436b1ff82935a7424ba63930e (diff)
downloadpbuilder-ecaad3f15e2fc941865a0426bd989a5dbb075972.tar
pbuilder-ecaad3f15e2fc941865a0426bd989a5dbb075972.tar.gz
moved mountproc position in createenv. debootstrap doesn't like seeing an already mounted proc
-rw-r--r--debian/changelog3
-rwxr-xr-xpbuilder-createbuildenv2
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d389896..290d468 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ pbuilder (0.2) unstable; urgency=low
* Add a versioned depends on debootstrap, because that version is the only
version I tested on ... 0.1.15.2
* --mirror option is fixed. it works now.
+ * proc is not mounted when debootstrap is running in create, should fix problems.
- -- Junichi Uekawa <dancer@debian.org> Tue, 28 Aug 2001 19:16:41 +0900
+ -- Junichi Uekawa <dancer@debian.org> Tue, 28 Aug 2001 19:44:34 +0900
pbuilder (0.1) unstable; urgency=low
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