diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-03 19:59:48 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-03 19:59:48 +0200 |
commit | f149fbdbcad61142a9851f652b5d4f1793b1627c (patch) | |
tree | 0a9fec3f7067d31d038b1f968e2569e31806ceb4 /hosts/hb0-armhf-rb/etc/pbuilder | |
parent | 9b390640d4c16b8a4ff8d7011012af437807195d (diff) | |
download | jenkins.debian.net-f149fbdbcad61142a9851f652b5d4f1793b1627c.tar.xz |
reproducible: run df on pbuilder failures to debug diskspace issues
Diffstat (limited to 'hosts/hb0-armhf-rb/etc/pbuilder')
-rwxr-xr-x | hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup index c60a991c..2ac6c207 100755 --- a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup +++ b/hosts/hb0-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 |