Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440586 - sys-fs/squashfs-tools-4.2: some elog messages should only be shown when upgrading from an old enough package.
Summary: sys-fs/squashfs-tools-4.2: some elog messages should only be shown when upgra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2015-03-05 08:04 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:40 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package sys-fs/squashfs-tools-4.2, the following elog messages are displayed:

 * This version of mksquashfs requires a 2.6.29 kernel or better
 * XZ support requires a 2.6.38 kernel or better

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-fs/squashfs-tools-1.0'; then

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

if !has_version 'sys-fs/squashfs-tools' || has_version '<sys-fs/squashfs-tools-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-03-05 08:04:47 UTC
I simply removed the messages in 4.3.