/etc/sysctl.conf is not updated correctly on sysupgrades (fixed in master); explicitly set kernel.core_pattern to ensure corefiles don't clutter the root filesystem.
@@ -0,0 +1,5 @@
+#!/usr/bin/lua
+
+local sysctl = require 'gluon.sysctl'
+sysctl.set('kernel.core_pattern', '/tmp/%e.%t.%p.%s.core')