Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348706 - media-gfx/sane-backends installing udev rules in wrong location
Summary: media-gfx/sane-backends installing udev rules in wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 12:33 UTC by Ben Sagal
Modified: 2011-01-21 21: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 Ben Sagal 2010-12-14 12:33:09 UTC
udev looks for rules in 2 locations /etc/udev/rules.d/ and /lib/udev/rules.d/.
system defined rules are supposed to be installed in /lib/udev/rules.d/ and not
in etc, however sane-backends installs the rules into /etc/udev/rules.d/.

this should be fixable by replacing the lines (in the ebuild):
        dodir /etc/udev/rules.d
        insinto /etc/udev/rules.d
with:
        dodir /$(get_libdir)/udev/rules.d
        insinto /$(get_libdir)/udev/rules.d
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2011-01-21 21:04:41 UTC
Fix in CVS. Thanks for the hint.