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/profitbricks-build4-amd64/etc | |
parent | 9b390640d4c16b8a4ff8d7011012af437807195d (diff) | |
download | jenkins.debian.net-f149fbdbcad61142a9851f652b5d4f1793b1627c.tar.xz |
reproducible: run df on pbuilder failures to debug diskspace issues
Diffstat (limited to 'hosts/profitbricks-build4-amd64/etc')
-rwxr-xr-x | hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup index c60a991c..2ac6c207 100755 --- a/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup +++ b/hosts/profitbricks-build4-amd64/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 |