Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455326 - sys-fs/eudev uses wrong udevdir
Summary: sys-fs/eudev uses wrong udevdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 18:03 UTC by Samuli Suominen (RETIRED)
Modified: 2013-05-01 14:05 UTC (History)
0 users

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


Attachments
List of installed files (filelist.txt,3.58 KB, text/plain)
2013-02-03 18:03 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2013-02-03 18:03:27 UTC
Created attachment 337826 [details]
List of installed files

`pkg-config --variable=udevdir udev needs to return /lib/udev` and the fallback directory in udev.eclass is set to /lib/udev too

it's common for eg. mips systems to not have symlink from the directory returned by $(get_libdir) (like lib32 or lib64) to /lib

only the libraries belong to /$(get_libdir) and everything in /lib/udev goes to, well, /lib/udev, NOT /$(get_libdir)/udev

this was vetted out long ago in the gentoo-dev ML and using /lib/udev was the consensus, hence we have also bug 424423 open and QA_MULTILIB_PATHS was created
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-02-03 18:06:10 UTC
even the eudev ebuild itself conflicts with itself as it puts 40-gentoo.rules to /lib/udev but other rules to /lib64/udev
just saying
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2013-02-04 14:54:49 UTC
OK, so just to confirm that I get this right when I change it:

udevdir should be (in our case) ${rootprefix}/lib/udev , and it would contain:

rules.d/
keymaps/
hwdb.d/ (as propagated by the hwids package)

..but NOT contain the helper scripts that would normally be installed to ${udevlibexecdir} ?  Or would it contain those too?
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2013-02-04 16:24:18 UTC
Fixed upstream, will release beta3 soon and will close the bug then.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-05-01 14:05:42 UTC
(In reply to comment #3)
> Fixed upstream, will release beta3 soon and will close the bug then.

I guess you forgot to close this.    Closing now.