summaryrefslogtreecommitdiffstats
path: root/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-03 19:59:48 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-03 19:59:48 +0200
commitf149fbdbcad61142a9851f652b5d4f1793b1627c (patch)
tree0a9fec3f7067d31d038b1f968e2569e31806ceb4 /hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
parent9b390640d4c16b8a4ff8d7011012af437807195d (diff)
downloadjenkins.debian.net-f149fbdbcad61142a9851f652b5d4f1793b1627c.tar.xz
reproducible: run df on pbuilder failures to debug diskspace issues
Diffstat (limited to 'hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup')
-rwxr-xr-xhosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
index c60a991c..2ac6c207 100755
--- a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -2,6 +2,10 @@
set -e
+echo "debug output: disk usage on $HOSTNAME at $(date -u)"
+df -h
+echo
+
# exit if we are in the same UTS namespace as init ( != 2nd build )
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0