kernel-cleaner

Designed for:

  • Find and remove kernels without availables source/modules directories .
  • Find and remove directories in /usr/src/, which haven't kernel's sources.
  • Find and remove directories in /lib/modules, which haven't parents as kernels in /boot.
  • Find and remove unused initramfses and configs

Features:

  • Kernel/initramfs/config name independent ( hello, eclean-kernel :3 ).
  • Correct work with EXTRAVERSION and LOCALVERSION.
  • Ignore custom files, directories, packages and versions.
  • Force remove custom files, directories, packages and versions.