Summary: | app-admin/eclean-kernel cannot detect latest grub2 autogenerated grub.cfg and generate new config after kernel removal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | drserge |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | konstantinos.smanis |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
drserge
2020-05-09 10:29:35 UTC
Could you --sync and try -9999? I've just made the check more flexible. Manually downloaded from git grub2.py detects auto-generated grub.cfg correctly and executes grub-mkconfig and then outputs the following message: eclean-kernel has met the following issue: FileNotFoundError(2, "No such file or directory: 'grub2-mkconfig'") The fallback logic was wrong indeed. Please try now. Gentle ping. I'd like to make a release, so I'd use a confirmation if I actually fixed your problem. (In reply to Michał Górny from comment #4) > Gentle ping. I'd like to make a release, so I'd use a confirmation if I > actually fixed your problem. Now it's working properly without any error/warning messages. I was just about to report this myself and I did indeed notice that eclean'ed kernels aren't removed from the grub2 boot menu, suspect that it's not rerunning grub-mkconfig the way genkernel does. Re-keyworded to allow 2.99.1, it still doesn't appear to be regenerating the boot menu as the grub.cfg still references a removed kernel. No errors this time complaining about a missing grub2-mkconfig The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f6ce2f36cc65a2934a5c6575fef77dc463227c commit 88f6ce2f36cc65a2934a5c6575fef77dc463227c Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-09-22 07:47:21 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-09-22 07:47:23 +0000 app-admin/eclean-kernel: Bump to 2.99.2 Closes: https://bugs.gentoo.org/721834 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-admin/eclean-kernel/Manifest | 1 + .../eclean-kernel/eclean-kernel-2.99.2.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) |