Allow RUN+="socket:..." in udev rules
svn path=/nixos/trunk/; revision=28808
This commit is contained in:
parent
25594961ad
commit
ea4630bf97
@ -71,7 +71,7 @@ let
|
|||||||
run_progs=$(grep 'RUN+="[^/$]' $out/* |
|
run_progs=$(grep 'RUN+="[^/$]' $out/* |
|
||||||
sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq)
|
sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq)
|
||||||
for i in $import_progs $run_progs; do
|
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 "FAIL"
|
||||||
echo "$i is called in udev rules but not installed by udev"
|
echo "$i is called in udev rules but not installed by udev"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user