aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap-linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap-linux.sh')
-rwxr-xr-xetc/bootstrap/bbot-bootstrap-linux.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-linux.sh b/etc/bootstrap/bbot-bootstrap-linux.sh
index f9ed447..0856e06 100755
--- a/etc/bootstrap/bbot-bootstrap-linux.sh
+++ b/etc/bootstrap/bbot-bootstrap-linux.sh
@@ -8,6 +8,11 @@ if ! jobs="$(nproc)"; then
jobs=1
fi
+# Enable core dumps (into /tmp by default) for postmortem debugging.
+#
+cd /tmp
+ulimit -c unlimited
+
# Note: bootstrap script options must come before build options.
#
"$(dirname "$0")/bbot-bootstrap.sh" \