Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440592

Summary: <sys-apps/pcmciautils-018_p8: some elog messages should only be shown when upgrading from an old enough package.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

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 (RETIRED) 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"