Summary: | app-admin/eclean-kernel wrongly identifies kernels as "not referenced by bootloader" with grub2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | faminebadger |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
faminebadger
2015-06-07 18:46:59 UTC
same here: Generating grub configuration file ... Found linux image: /boot/kernel-genkernel-x86_64-4.2.6-hardened-r3 Found initrd image: /boot/initramfs-genkernel-x86_64-4.2.6-hardened-r3 Found linux image: /boot/kernel-genkernel-x86_64-4.2.5-hardened-r1 Found initrd image: /boot/initramfs-genkernel-x86_64-4.2.5-hardened-r1 Found linux image: /boot/kernel-genkernel-x86_64-4.2.5 Found initrd image: /boot/initramfs-genkernel-x86_64-4.2.5 Found linux image: /boot/kernel-genkernel-x86_64-4.1.7-hardened-r1 Found initrd image: /boot/initramfs-genkernel-x86_64-4.1.7-hardened-r1 Found linux image: /boot/kernel-genkernel-x86_64-4.1.6-hardened Found initrd image: /boot/initramfs-genkernel-x86_64-4.1.6-hardened Found linux image: /boot/kernel-genkernel-x86_64-4.0.5-gentoo Found initrd image: /boot/initramfs-genkernel-x86_64-4.0.5-gentoo Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi Found Debian GNU/Linux (8.1) on /dev/sda3 done eclean-kernel -paD * Trying bootloader lilo * Trying bootloader grub2 ** /boot/grub/grub.cfg found * In get_removal_list() ** Config is autogenerated, ignoring These are the kernels which would be removed: - genkernel-x86_64-4.0.5-gentoo: not referenced by bootloader (grub2) - genkernel-x86_64-4.1.6-hardened: not referenced by bootloader (grub2) - genkernel-x86_64-4.2.5-hardened-r1: not referenced by bootloader (grub2) - genkernel-x86_64-4.1.7-hardened-r1: not referenced by bootloader (grub2) - genkernel-x86_64-4.2.6-hardened-r3: not referenced by bootloader (grub2) - genkernel-x86_64-4.2.5: not referenced by bootloader (grub2) Bootloader grub2 config will be updated. using eclean-kernel-0.4.1 Cya. > ** Config is autogenerated, ignoring
That's the key point. Since it is autogenerated, all kernels will always be referenced unless we remove them.
|