From 67f078a709db6dceb1cbabe9fc5f4ccc70f5fdbe Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 16 Jan 2026 13:02:19 -0500 Subject: [PATCH] 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 --- 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 24a4df38ec4c1..3ba779ec4ac48 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."