[pbuilder] 02/02: buildpackage: copy the source into the chroot before satisfying the build-deps
Mattia Rizzolo
mattia at debian.org
Sat Oct 1 22:15:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit ce569c980648df8bda47830edbbac7080dd8a38f
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Oct 1 22:12:57 2016 +0000
buildpackage: copy the source into the chroot before satisfying the build-deps
This allows for very easy use of `apt-get build-dep`.
---
pbuilder-buildpackage | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 44394d1..d2d476d 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -124,13 +124,6 @@ createbuilduser
CCACHE_ENV=
setup_ccache
SUTOUSER="$CCACHE_ENV $SUTOUSER"
-log.i "Installing the build-deps"
-executehooks "D"
-trap saveaptcache_umountproc_cleanbuildplace_trap exit sighup sigpipe
-checkbuilddep "$PACKAGENAME"
-save_aptcache
-trap umountproc_cleanbuildplace_trap exit sighup sigpipe
-
log.i "Copying source file"
copydsc "$PACKAGENAME" "${BUILDPLACE}$BUILDDIR"
copyinputfile "${BUILDPLACE}$BUILDDIR"
@@ -149,6 +142,13 @@ else
exit 1;
fi
+log.i "Installing the build-deps"
+executehooks "D"
+trap saveaptcache_umountproc_cleanbuildplace_trap exit sighup sigpipe
+checkbuilddep "$PACKAGENAME"
+save_aptcache
+trap umountproc_cleanbuildplace_trap exit sighup sigpipe
+
binNMU
log.i "Building the package"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list