On Thu, Feb 20, 2020 at 05:59:32PM +0100, Michael Pujos wrote:
On 2/20/20 5:54 PM, Andreas Schwab wrote:
Do you have the purge-kernels service enabled?
Andreas.
Yes I do. It does not seem to remove non-standard modules, suc as nvidia modules. Maybe it should ?
I don't think so. It just uninstall "old" kernel packages according to configured rules. Uninstall of a kernel package does not delete files the package did not install. I'm using the script below (slightly modified) from time to time to clean up leftover out-of-tree modules. Michal Kubecek ------------------------------------------------------------------------ #!/bin/bash cd /lib/modules || exit 2 for v in *; do test -d "$v" || continue test -f "/boot/vmlinuz-${v}" || rm -rf "$v" done ------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org