[pbuilder] 01/01: createbuildenv: print a tail of debootstrap.log when debootstrap fails

Mattia Rizzolo mattia at debian.org
Mon Oct 30 20:57:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit c089d6cbb40f63798d43280b5c382354484a626a
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Oct 30 09:07:50 2017 +0100

    createbuildenv: print a tail of debootstrap.log when debootstrap fails
    
    Closes: #870074
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 pbuilder-createbuildenv | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index f12d8b4..07acc98 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -76,6 +76,9 @@ if ! ( "${DEBOOTSTRAP}" \
     "$MIRRORSITE" \
     $DEBOOTSTRAPSCRIPT ) ; then
     log.e "$DEBOOTSTRAP failed"
+    log.e "Tail of debootstrap.log:"
+    tail -n 50 "$BUILDPLACE/debootstrap/debootstrap.log"
+    log.e "End of debootstrap.log"
     exit 1
 fi
 

-- 
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