Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120958 - sys-fs/udev - better upgrade info
Summary: sys-fs/udev - better upgrade info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 10:34 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2006-01-30 13:36 UTC (History)
0 users

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


Attachments
ebuild patch (udev.diff,4.33 KB, patch)
2006-01-30 12:05 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-01-30 10:34:23 UTC
Currently after emerging sys-fs/udev you got a lot of messages like "Note: If you are upgrading from a version of udev prior to ...".

It would be nice if the ebuild could do these checks by itself and print warnings only when needed. According to unofficial Gentoo Development Guide it is possible:

"The most common use for pkg_postinst is to display post-install informational messages or warnings. Note that has_version will operate on the version that was installed, which can be useful for selective upgrade messages."
http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/functions/pkg_postinst/
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-30 11:16:54 UTC
great, care to make a patch to the ebuild to do this?
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-01-30 12:05:16 UTC
Created attachment 78515 [details, diff]
ebuild patch

Sure, here is the patch. Should work for all udev-ebuilds.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-30 13:36:59 UTC
Thanks, will be fixed in 083 release (in a few hours.)