Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440592 - <sys-apps/pcmciautils-018_p8: some elog messages should only be shown when upgrading from an old enough package.
Summary: <sys-apps/pcmciautils-018_p8: some elog messages should only be shown when up...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mobile Herd (OBSOLETE)
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-01 08:07 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:43 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package sys-apps/pcmciautils-014-r1, the following elog messages are displayed:

 * If you relied on pcmcia-cs to automatically load the appropriate
 * PCMCIA-related modules upon boot, you need to add 'pcmcia' and the
 * PCMCIA socket driver you need for this system (yenta-socket,
 * i82092, i82365, ...) to /etc/modules.autoload.d/kernel-2.6

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-apps/pcmciautils-1.0'; then

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

if !has_version 'sys-apps/pcmciautils' || has_version '<sys-apps/pcmciautils-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Samuli Suominen gentoo-dev 2012-11-01 08:07:21 UTC
+*pcmciautils-018_p8 (01 Nov 2012)
+
+  01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
+  +pcmciautils-018_p8.ebuild:
+  Version bump. Include patch from Debian to remove sys-fs/sysfsutils
+  dependency wrt #377697 by Anthony Basile. Remove now out of date notification
+  from pkg_postinst() wrt #440592 by "poletti.marco"