diff options
author | dancer <dancer> | 2001-09-27 08:48:11 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-09-27 08:48:11 +0000 |
commit | 5d75d19f91eec493887020fc5e111648da8c3c7d (patch) | |
tree | 2ef5d634984a4a4ed154ea84e6b2c27ada59393b /pbuilder-updatebuildenv | |
parent | e1e4fb1fa984f1456e1d085a6fee086dea5e521b (diff) | |
download | pbuilder-5d75d19f91eec493887020fc5e111648da8c3c7d.tar pbuilder-5d75d19f91eec493887020fc5e111648da8c3c7d.tar.gz |
including the patch submitted from dale amon
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index f370de6..3a59098 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -1,6 +1,7 @@ #! /bin/bash . /usr/lib/pbuilder/pbuilder-checkparams +. /usr/lib/pbuilder/pbuilder-runhooks CHROOTEXEC="chroot $BUILDPLACE " @@ -8,6 +9,7 @@ test -n "$DISTRIBUTION" && echo "Upgrading for distribution $DISTRIBUTION" extractbuildplace +test -n "HOOKDIR" && loadhooks echo "Refreshing the base.tgz " echo " -> upgrading packages" $CHROOTEXEC /usr/bin/apt-get update @@ -15,6 +17,8 @@ $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 +test -n "HOOKDIR" && executehooks +test -n "HOOKDIR" && unloadhooks "X" umountproc echo " -> creating base.tgz" (cd "$BUILDPLACE"; tar cfz "$BASETGZ" *) |