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

Bug 493234

Summary: net-misc/cgminer should install udev rule
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Regna <ki>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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