aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2003-03-10 11:01:01 +0000
committerdancer <dancer>2003-03-10 11:01:01 +0000
commit339ee7a89b7f9e0755090a1c764e41a4c5b172ad (patch)
tree4e81c66a4d3f14e4c58c084bf52de104281448a2 /pbuilder-buildpackage
parentca62e88c1fd2574426cc228aef4a1c5064dd2853 (diff)
downloadpbuilder-339ee7a89b7f9e0755090a1c764e41a4c5b172ad.tar
pbuilder-339ee7a89b7f9e0755090a1c764e41a4c5b172ad.tar.gz
+ * debian/rules: add check target for build.
+ + * Makefile (check): add check target to makefile, to see if there is + any syntax error. + + * pbuilder-updatebuildenv: support --preserve-buildplace + apply things from + Daniel Schepler <schepler@math.berkeley.edu> + + * pbuilder-satisfydepends: support --preserve-buildplace + support Format: field. + + * pbuilder-modules (pbuilder-options): support --preserve-buildplace + + * pbuilder-buildpackage (PACKAGENAME): support --preserve-buildplace + + * pbuilder-buildpackage-funcs: support --preserve-buildplace + + * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): support --preserve-buildplace + + * pbuilder-checkparams (PRESERVE_BUILDPLACE): add PRESERVE_BUILDPLACE + + * pbuilder.8: update docs to add --preserve-buildplace +
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage16
1 files changed, 8 insertions, 8 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 47d08a1..8e87559 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -50,7 +50,6 @@ echobacktime
extractbuildplace
trap umountproc_cleanbuildplace exit
loadhooks
-createbuilduser
if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then
if [ "${USE_PKGNAME_LOGFILE}" = "yes" ]; then
@@ -64,6 +63,14 @@ if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then
fi
fi
+recover_aptcache
+echo "Installing the build-deps"
+trap saveaptcache_umountproc_cleanbuildplace exit
+checkbuilddep
+save_aptcache
+trap umountproc_cleanbuildplace exit
+createbuilduser
+
echo "Copying source file"
copydsc "$PACKAGENAME" "$BUILDPLACE/tmp/buildd"
executehooks "D"
@@ -74,13 +81,6 @@ if ! $CHROOTEXEC /bin/bash -c "( cd tmp/buildd; chown $BUILDUSERNAME:$BUILDUSERN
exit 1;
fi
-recover_aptcache
-echo "Installing the build-deps"
-trap saveaptcache_umountproc_cleanbuildplace exit
-checkbuilddep
-save_aptcache
-trap umountproc_cleanbuildplace exit
-
echo " -> Building the package"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"