projects
/
buildd-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d919b2
)
Automatically grab and save core dumps if any are generated
author
Steve McIntyre
<steve@einval.com>
Fri, 26 Oct 2018 15:34:13 +0000
(16:34 +0100)
committer
Steve McIntyre
<steve@einval.com>
Fri, 26 Oct 2018 15:34:13 +0000
(16:34 +0100)
build-config/sbuild/sbuild.conf
patch
|
blob
|
history
diff --git
a/build-config/sbuild/sbuild.conf
b/build-config/sbuild/sbuild.conf
index
9f91a87
..
c2211b1
100644
(file)
--- a/
build-config/sbuild/sbuild.conf
+++ b/
build-config/sbuild/sbuild.conf
@@
-558,7
+558,7
@@
$external_commands = {
'chroot-setup-commands' => [],
'chroot-update-failed-commands' => [],
'finished-build-commands' => [],
- 'post-build-commands' => [],
+ 'post-build-commands' => [
'%SBUILD_CHROOT_EXEC sh -c "cd %b && find . -type f -name core | xargs tar cf - " | cat > %d-core.tar; if [ ! -s %d-core.tar ]; then rm -f %d-core.tar; else gzip -9 %d-core.tar; fi'
],
'pre-build-commands' => [],
'starting-build-commands' => ['ulimit -c'],
};