I did some digging around and found that the automatic clean-up for kernels is in /etc/kernel/postinst.d/apt-auto-removal
and the file states:
# In the common case this results in two kernels saved (booted into the
# second-latest kernel, we install the latest kernel in an upgrade), but
# can save up to four. Kernel refers here to a distinct release, which can
# potentially be installed in multiple flavours counting as one kernel.
but that script is way above my head and I cannot easily find how autoclean anything but the last 4 kernels.
apt
package to allow the number of kernels to be customised. – fkraiem Dec 17 '17 at 10:09