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

Bug 455606

Summary: sys-apps/portage: Warn also about /lib{32,64}/udev/rules.d, only /lib/udev/rules.d is correct
Product: Portage Development Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: udev-bugs
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: http://bugs.gentoo.org/show_bug.cgi?id=361759
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 361759    
Bug Blocks: 456888    

Description Samuli Suominen (RETIRED) gentoo-dev 2013-02-05 14:17:29 UTC
There is a code in misc-functions.sh:

if [[ -d ${ED}/etc/udev/rules.d ]] ; then
f=
for x in $(ls "${ED}/etc/udev/rules.d") ; do
f+="  etc/udev/rules.d/$x\n"
done
if [[ -n $f ]] ; then
eqawarn "QA Notice: udev rules should be installed in /lib/udev/rules.d:"
eqawarn
eqawarn "$f"
fi
fi

This should be extended to check also /lib32/udev/rules.d as well as /lib64/udev/rules.d
Only /lib/udev/rules.d is allowed
Comment 2 Zac Medico gentoo-dev 2013-02-12 04:21:08 UTC
This is fixed in 2.1.11.51 and 2.2.0_alpha162.