Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493234 - net-misc/cgminer should install udev rule
Summary: net-misc/cgminer should install udev rule
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Regna
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 17:12 UTC by Alexander Tsoy
Modified: 2013-12-07 22:25 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 Alexander Tsoy 2013-12-03 17:12:58 UTC
cgminer is shipped with 01-cgminer.rules file. This udev rule is necessary to run cgminer under unprivileged user - it gives access permissions on mining devices to the plugdev group. Would be nice to have this rule installed by ebuild. Other option is to install this rule in examples dir and tell people that they can copy it to /etc/udev/rules.d
Comment 1 Regna 2013-12-04 17:59:36 UTC
I added udev use flag to ebuilds in my overlay (http://bakka.su/git/baka-bakka/tree/net-misc/cgminer).
Comment 2 Anthony Basile gentoo-dev 2013-12-07 19:02:31 UTC
(In reply to Regna from comment #1)
> I added udev use flag to ebuilds in my overlay
> (http://bakka.su/git/baka-bakka/tree/net-misc/cgminer).

udev_dorules doesn't exist.  You need to do an insinto + doins.

Please test cgminer-3.8.4 and reopen if this is still an issue.
Comment 3 Alexander Tsoy 2013-12-07 22:25:20 UTC
(In reply to Anthony Basile from comment #2)
> (In reply to Regna from comment #1)
> > I added udev use flag to ebuilds in my overlay
> > (http://bakka.su/git/baka-bakka/tree/net-misc/cgminer).
> 
> udev_dorules doesn't exist.  You need to do an insinto + doins.

udev_dorules() is defined in udev.eclass