purge-kernels script

Hello All,

I have posted a similar request on the factory mailing list on 09/05 but didn’t get any replies until now. Maybe it was the wrong list.

Anyway, on all my installations I have the “multiversion kernel” feature activated to have at least one working kernel on my systems just in case a new kernel doesn’t boot or crashes.

Usually - to prevent the HD from getting filled up with older kernels - I had to delete them manually.

But since July there is a script available in factory and tumbleweed that does take care of deleting older kernels on the next reboot.

This script is activated with a line in zypp.conf like (in my case) the follwing:

“multiversion-kernels = latest,latest-1,latest-2,running”

The script is working fine, removing older kernels as intended, except for two packages:

The kernel-source-# and the kernel-devel-# packages are left on the disk and
still have to be removed manually.

Can anyone confirm this? Is this intended? How can this be changed?

Thank you,

Andreas