On 17.9.2011 13:21, Freigeist wrote:
I hope I am finally on the right mailinglist to addres this topic.
Yes!
I am running/testing the above feature in combination with the purge-kernels script on four machines for nearly two months now and I like it very much.
Great. [...]
The purge-kernels script is working fine as it removes old kernels during the next reboot following a new kernel install... exept for two packages:
The kernel-source and the kernel-devel package are left on disk. These two packages still have to be removed manually via Yast2 or zypper.
My questions concerning this problem are
- is this behaviour intended and if so then why?
It's not really intended, I was just lazy to solve it yet: sub list_old_packages { my ($flavor) = @_; # ignore kernel-source for now return if $flavor =~ /\/source$/;
- shouldn't the old -source and -devel package also be deleted, together with their corresponding kernel version?
Yeah, probably. What needs to be decided is whether and how to support "running" in the context of kernel-source. Also, kernel-source is noarch, so that's another difference. I'll try to come up with something. Thanks for testing. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org