commit: 67f078a709db6dceb1cbabe9fc5f4ccc70f5fdbe
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 18:02:19 2026 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 18:02:19 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f078a7
metadata/install-qa-check.d: update udevdir check
Recent versions of udev install rules in /usr/lib/udev/rules.d.
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
metadata/install-qa-check.d/60udev-eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/metadata/install-qa-check.d/60udev-eclass
b/metadata/install-qa-check.d/60udev-eclass
index 24a4df38ec4c..3ba779ec4ac4 100644
--- a/metadata/install-qa-check.d/60udev-eclass
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# QA check: ensure that packages installing udev rules inherit the eclass
@@ -36,7 +36,7 @@ udev_rules_check() {
return
fi
- if [[ -d "${ED}"/lib/udev/rules.d/ ]] ; then
+ if [[ -d "${ED}"/lib/udev/rules.d || -d "${ED}"/usr/lib/udev/rules.d
]] ; then
if ! has udev ${INHERITED} ; then
eqawarn "QA Notice: package is installing udev rules
without inheriting udev.eclass!"
eqawarn "Packages must inherit udev.eclass then call
udev_reload in pkg_postinst."