Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199464 - Please change kernel-2.eclass to use elog instead of einfo
Summary: Please change kernel-2.eclass to use elog instead of einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Miscellaneous
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks: 158933
  Show dependency tree
 
Reported: 2007-11-17 20:30 UTC by Xake
Modified: 2008-03-01 20:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
convert eclass and ebuilds to using elog, add K_EXTRAELOG (einfo.kernels.patch,6.27 KB, patch)
2008-02-26 23:43 UTC, Bo Ørsted Andresen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2007-11-17 20:30:28 UTC
Is there any special reason why kernel-2.eclass (or any eclass) uses einfo instead of elog for post-install messages?
Comment 1 Xake 2008-01-22 13:03:39 UTC
I was about to make a patch as a proposal, but I do need advice on the way to proceed.
Should I adjust K_EXTRAEINFO to use elog, or should I make a K_EXTRAELOG and attache patches agains *-sources that uses K_EXTRAEINFO where they should use K_EXTRAELOG?
Comment 2 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-02-26 23:43:24 UTC
Created attachment 144712 [details, diff]
convert eclass and ebuilds to using elog, add K_EXTRAELOG

I left out rsbac-sources because it isn't under the kernel herd at all but it really should be converted too. I also only added the latest ebuild under each package since it's exactly the same for every version and including all of it just increases the noise.

Using einfo for any of this makes it drown in the noise from epatch, running autofoo, enabling foo, etc. which all use einfo..

I'm willing to commit as much of this to as many ebuilds as I get permission for if you want...
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2008-02-28 11:34:01 UTC
Looks great, please commit!! Thanks a lot for working on this.
Comment 4 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-03-01 20:08:01 UTC
CC'ing kang so he can decide if he want to use K_EXTRAELOG in rsbac-sources too. Marking FIXED as the patch has been committed.