Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440560 - sys-kernel/genkernel-3.4.24_p2: some elog messages should only be shown when upgrading from an old enough package.
Summary: sys-kernel/genkernel-3.4.24_p2: some elog messages should only be shown when ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-11-02 16:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:29:26 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package sys-kernel/genkernel-3.4.24_p2, the following elog messages are displayed:

 * The LUKS support has changed from versions prior to 3.4.4.  Now,
 * you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah.

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<sys-kernel/genkernel-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'sys-kernel/genkernel' || has_version '<sys-kernel/genkernel-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-11-02 16:54:36 UTC
What if they didn't read it before? It stays.