diff options
author | dancer <dancer> | 2001-08-27 11:01:56 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-08-27 11:01:56 +0000 |
commit | 296a5a338a397c6cf8c77a813dc29bd1b7ce8b19 (patch) | |
tree | 100834164db20291514c5e5843f8aaff6928506f /pbuilder-updatebuildenv | |
parent | e062d3ce43ca80e40030cf2bac5bc15b581a3a8b (diff) | |
download | pbuilder-296a5a338a397c6cf8c77a813dc29bd1b7ce8b19.tar pbuilder-296a5a338a397c6cf8c77a813dc29bd1b7ce8b19.tar.gz |
created pbuilder-modules and made others use it for common routines, and made PROC support optional for some people without PROC interface
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 02eb238..f3e21ce 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -1,8 +1,8 @@ #! /bin/bash -export LANG=C -export LC_ALL=C . /usr/lib/pbuilder/pbuilder-checkparams +. /usr/lib/pbuilder/pbuilder-modules + CHROOTEXEC="chroot $BUILDPLACE " test -n "$DISTRIBUTION" && echo "Upgrading for distribution $DISTRIBUTION" @@ -15,9 +15,7 @@ echo " -> extracting base.tgz" mkdir -p $BUILDPLACE cd $BUILDPLACE tar xfzp $BASETGZ -echo " -> mounting proc" -mkdir -p "$BUILDPLACE/proc" -mount -t proc /proc $BUILDPLACE/proc +mountproc mkdir -p $BUILDPLACE/tmp/buildd echo " -> copying local configuration" for a in passwd hosts hostname resolv.conf; do @@ -39,8 +37,7 @@ $CHROOTEXEC /usr/bin/dpkg --purge lilo $CHROOTEXEC /usr/bin/apt-get -y dist-upgrade $CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES $CHROOTEXEC /usr/bin/apt-get clean -echo " -> unmounting proc" -umount $BUILDPLACE/proc +umountproc echo " -> creating base.tgz" cd $BUILDPLACE tar cfz $BASETGZ * |