| Summary: | udev.eclass: provide sane udevdir default | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hristo Venev <hristo> |
| Component: | Eclasses | Assignee: | udev maintainers <udev-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(In reply to Hristo Venev from comment #0) > --- eclass/udev.eclass > +++ eclass/udev.eclass > @@ -47,7 +47,7 @@ > if $($(tc-getPKG_CONFIG) --exists udev); then > echo "$($(tc-getPKG_CONFIG) --variable=udevdir udev)" > else > - echo /lib/udev > + echo /usr/$(get_libdir)/udev that'd be wrong, the current default, sys-fs/udev, doesn't even read from /usr we install udev to / and that's the only correct directory futhermore using multilib here would be invalid |
--- eclass/udev.eclass +++ eclass/udev.eclass @@ -47,7 +47,7 @@ if $($(tc-getPKG_CONFIG) --exists udev); then echo "$($(tc-getPKG_CONFIG) --variable=udevdir udev)" else - echo /lib/udev + echo /usr/$(get_libdir)/udev fi } udev and eudev don't use it when generating udev.pc so it's not a problem for {,e}udev users. Reproducible: Always