Closed zeule closed 8 years ago
Oh, the modules are coupled with sources! Then this is an obvious bug. The modules have to be kept.
Yes, for some reason it doesn't read the kernel version correctly from your kernel files. Could you paste the output of:
file /boot/vmlinuz-4.6.4-gentoo
Besides, the removal of sources is to be reworked. Eventually I want ek2 to only kill builddirs, and leave sources to emerge. It's a non-trivial problem though.
Please:
$ file /boot/vmlinuz-4.6.4-gentoo
/boot/vmlinuz-4.6.4-gentoo: Linux kernel x86 boot executable bzImage, version 4.6.4-gentoo (root@tiger) #1 SMP Wed Jul 13 22:14:09 CEST 2016, RO-rootFS, swap_dev 0x4, Normal VGA
Hmm, looks like ek2 doing something wrong then ;-f. Would you be able to send me the compiled file? (assuming you keep no secrets inside ;-)). Either mail it (mgorny@g.o) or use some random file sharing service ;-).
Excuse me, don't understand which file: the kernel or the eclean-kernel binary?
The kernel ;-).
Mailed to the g.o address.
Excuse me but I don't seem to have anything in inbox or spam. Are you sure that you typed the address correctly? @g.o expands into gentoo.org.
Yes, gentoo.org domain. GMail recognized you as the owner of the e-mail. Anyway, the file is here: https://drive.google.com/file/d/0B6hiAwMSyJYMbk93QjZNTUFmWm8/view?usp=sharing
Thanks for finding a corner case ;-). It turned out to be a sign error, it should be fixed now.
With the following kernels:
eclean-kernel -p -n 2
wants to delete sources for the newest ones:This is certainly not what I want most of the times. Please add an option to keep sources for the kernels which will be kept.