From f149fbdbcad61142a9851f652b5d4f1793b1627c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 3 Oct 2015 19:59:48 +0200 Subject: reproducible: run df on pbuilder failures to debug diskspace issues --- .../profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/profitbricks-build4-amd64/etc') 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 -- cgit v1.2.3-70-g09d2