Allow RUN+="socket:..." in udev rules

svn path=/nixos/trunk/; revision=28808
This commit is contained in:
Yury G. Kudryashov 2011-08-25 08:06:09 +00:00
parent 25594961ad
commit ea4630bf97

View File

@ -71,7 +71,7 @@ let
run_progs=$(grep 'RUN+="[^/$]' $out/* |
sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq)
for i in $import_progs $run_progs; do
if [[ ! -x ${pkgs.udev}/lib/udev/$i ]]; then
if [[ ! -x ${pkgs.udev}/lib/udev/$i && ! $i =~ socket:.* ]]; then
echo "FAIL"
echo "$i is called in udev rules but not installed by udev"
exit 1