aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2003-04-19 01:50:49 +0000
committerdancer <dancer>2003-04-19 01:50:49 +0000
commitd5bc1919df44873d4e1f9721ae307597c63f0454 (patch)
treeda4b2fee788656feac72d34a948ce60ca8590877
parent81dbacf7123f5005a785f58ec83763b2838b83aa (diff)
downloadpbuilder-d5bc1919df44873d4e1f9721ae307597c63f0454.tar
pbuilder-d5bc1919df44873d4e1f9721ae307597c63f0454.tar.gz
documentation updates, and fixing ordering of D hooks
-rw-r--r--ChangeLog7
-rw-r--r--debian/changelog4
-rwxr-xr-xpbuilder-buildpackage2
-rw-r--r--pbuilder.89
4 files changed, 17 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c5f4204..7fa0245 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-19 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-buildpackage (PACKAGENAME): moved around D hook location
+ so that D hook is called before satisfying build-deps.
+
+ * pbuilder.8: minor improvements on the documentation wording.
+
2003-04-17 Junichi Uekawa <dancer@debian.org>
* Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): update and document
diff --git a/debian/changelog b/debian/changelog
index aeb5ab8..4c0fe2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ pbuilder (0.73) UNRELEASED; urgency=low
* versioned dependency on rootstrap 0.3.9-1 which handles newer
user-mode-linux.
+ * Fix ordering of running D hooks; D hooks should be ran before
+ checking build-dependency. Apparently broken since 0.67
- -- Junichi Uekawa <dancer@debian.org> Tue, 15 Apr 2003 19:20:11 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sat, 19 Apr 2003 10:47:58 +0900
pbuilder (0.72) unstable; urgency=low
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index c05bfe9..4443cc8 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -66,6 +66,7 @@ fi
recover_aptcache
echo "Installing the build-deps"
trap saveaptcache_umountproc_cleanbuildplace exit
+executehooks "D"
checkbuilddep "$PACKAGENAME"
save_aptcache
trap umountproc_cleanbuildplace exit
@@ -73,7 +74,6 @@ createbuilduser
echo "Copying source file"
copydsc "$PACKAGENAME" "$BUILDPLACE/tmp/buildd"
-executehooks "D"
echo "Extracting source"
if ! $CHROOTEXEC /bin/bash -c "( cd tmp/buildd; chown $BUILDUSERNAME:$BUILDUSERNAME ../buildd *; $SUTOUSER /usr/bin/dpkg-source -x $(basename $PACKAGENAME) )"; then
diff --git a/pbuilder.8 b/pbuilder.8
index e68c92d..6cb7816 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -243,7 +243,7 @@ This allows for use of custom debootstrap hook script.
is for
.B build
target.
-It is executed before build starts, after
+It is executed before build starts; after
unpacking the build system, and unpacking the source,
and satisfying the build-dependency.
@@ -252,13 +252,16 @@ is executed after build system finishes building,
successfully, before copying back the build result.
.B "C<digit><digit><whatever-else-you-want>"
-is executed after build fails, before cleanup.
+is executed after build failure, before cleanup.
.B "D<digit><digit><whatever-else-you-want>"
is executed before unpacking the source inside the chroot,
after setting up the chroot environment.
Create $TMP, and $TMPDIR if necessary.
-This can be used for calling apt-get update.
+
+This is called before build-dependency is satisfied.
+Also useful for calling
+.B "apt-get update"
.B "E<digit><digit><whatever-else-you-want>"
is executed after pbuilder update and pbuilder create