aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2002-12-15 04:05:08 +0000
committerdancer <dancer>2002-12-15 04:05:08 +0000
commit3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5 (patch)
tree716321d15cbb41d8cc91d012a61b9d4298cab8c7
parentb250aa16c7d35005a50593d17884b6aa1309e57a (diff)
downloadpbuilder-3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5.tar
pbuilder-3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5.tar.gz
do not read-lock
-rw-r--r--ChangeLog9
-rw-r--r--THANKS1
-rw-r--r--debian/changelog6
-rw-r--r--pbuilder-modules8
4 files changed, 14 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a0e330..0a94f71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,16 @@
2002-12-15 Junichi Uekawa <dancer@debian.org>
+ * THANKS: update this file, thinking that this file is probably autogenerated from
+ ChangeLog on other projects...
+
* pbuilder-modules (pbuilder-options): modify the ordering of scripts so that
concurrent-build experience is more active.
+ (pbuilder-options): extraction does not need the locking, does it?
+ I can ignore the locks while extracting. Creating the tarball needs to
+ lock the file. mv will not replace inodes, and running extraction routines
+ will not be affected by it.
+ Therefore I am removing the locking completely from extraction routines.
+ At request of Sam Couter <sam@couter.dropbear.id.au>
2002-12-13 Junichi Uekawa <dancer@debian.org>
diff --git a/THANKS b/THANKS
index 97a34af..912316b 100644
--- a/THANKS
+++ b/THANKS
@@ -20,6 +20,7 @@ Michael Banck <mbanck@gmx.net>;
Clint Adams <schizo@debian.org>
Daniel Schepler <schepler@math.berkeley.edu>
Andrew Lau <netsnipe@debianplanet.org>
+Sam Couter <sam@couter.dropbear.id.au>
I thank them all!
diff --git a/debian/changelog b/debian/changelog
index 28b866d..8a8cc49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-pbuilder (0.54) UNRELEASED; urgency=low
+pbuilder (0.54) unstable; urgency=low
* Fixed ordering of messages so that concurrent-building experience is
better.
+ * Do not lock while extracting, it is not needed.
+ (closes: #173038)
- -- Junichi Uekawa <dancer@debian.org> Sun, 15 Dec 2002 12:57:31 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sun, 15 Dec 2002 13:05:05 +0900
pbuilder (0.53) unstable; urgency=low
diff --git a/pbuilder-modules b/pbuilder-modules
index 060c7a7..e1f20ff 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -187,23 +187,15 @@ function extractbuildplace () {
echo "E: failed to build the directory to chroot"
exit 1
fi
- while [ -f "${BASETGZ}.tmp" ]; do
- echo " -> Someone else has lock over ${BASETGZ}.tmp, waiting"
- sleep 10s
- done
- touch "${BASETGZ}.tmp"
echo " -> extracting base tarball [${BASETGZ}]"
if [ ! -f "$BASETGZ" ]; then
echo "E: failed to find $BASETGZ, have you done <pbuilder create> to create your base tarball yet?"
- rm -f "${BASETGZ}.tmp"
exit 1
fi
if ! (cd "$BUILDPLACE" && tar xfzp "$BASETGZ"); then
echo "E: failed to extract $BASETGZ to $BUILDPLACE"
- rm -f "${BASETGZ}.tmp"
exit 1
fi
- rm -f "${BASETGZ}.tmp"
echo " -> creating local configuration"
hostname -f > "$BUILDPLACE/etc/mailname"
fi