Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138531 - 30-svgalib.rules Needs update to support udev 94
Summary: 30-svgalib.rules Needs update to support udev 94
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 139932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-29 15:05 UTC by James Wells
Modified: 2006-07-10 23:29 UTC (History)
2 users (show)

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 James Wells 2006-06-29 15:05:26 UTC
With the release of udev 94, the rule parsing engine has become a bit more strict.  The effect is that rules now use single equal signs (=) for assignment only, and double equal signs (==) for comparison.  30-svgalib.rules still uses a sngle quote for a comparison.  Existing rule looks like;
KERNEL="svga*", NAME="%k", MODE="0660", GROUP="video"

And needs to be changed to;
KERNEL=="svga*", NAME="%k", MODE="0660", GROUP="video"
Comment 1 Padde 2006-06-30 08:16:20 UTC
I had a couple of other rules that didn't work with 094, so I did a

for i in $(grep -l "KERNEL=\"" *); do sed -i "$i" -e 's/KERNEL="/KERNEL=="/'; done

in /etc/udev/rules.d.
Comment 2 SpanKY gentoo-dev 2006-07-01 23:31:18 UTC
fixed in cvs, thanks
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-10 23:29:48 UTC
*** Bug 139932 has been marked as a duplicate of this bug. ***