summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks')
-rwxr-xr-xhosts/profitbricks-build4-amd64/etc/pbuilder/rebuild-hooks/C01_cleanup4
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