wok-next rev 10405

udev: dont use your old rules anymore
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 04:36:08 2011 +0200 (2011-05-24)
parents 981932aa3aa4
children b039a3d7274c
files udev/receipt udev/stuff/udev.conf
line diff
     1.1 --- a/udev/receipt	Tue May 24 04:19:39 2011 +0200
     1.2 +++ b/udev/receipt	Tue May 24 04:36:08 2011 +0200
     1.3 @@ -42,10 +42,11 @@
     1.4  	cp -a $_pkg/lib/udev $fs/lib
     1.5  	cp -a $_pkg/usr/lib $fs/usr
     1.6  
     1.7 -	# Copy rules files to udev conf dir
     1.8 +	# OLD: Copy rules files to udev conf dir
     1.9  	mv -f $fs/lib/udev/rules.d $fs/etc/udev
    1.10  	cp $stuff/udev.conf $fs/etc/udev
    1.11 -	cp $stuff/*.rules $fs/etc/udev/rules.d
    1.12 +	#cp $stuff/*.rules $fs/etc/udev/rules.d
    1.13 +	
    1.14  	# Fix permissions
    1.15  	chmod +x $fs/lib/udev/*
    1.16  	chown -R root.root $fs
     2.1 --- a/udev/stuff/udev.conf	Tue May 24 04:19:39 2011 +0200
     2.2 +++ b/udev/stuff/udev.conf	Tue May 24 04:36:08 2011 +0200
     2.3 @@ -8,7 +8,7 @@
     2.4  udev_root="/dev/"
     2.5  
     2.6  # udev_db - The name and location of the udev database.
     2.7 -udev_db="/dev/.udev.tdb"
     2.8 +#udev_db="/run/udev/tdb"
     2.9  
    2.10  # udev_rules - The name and location of the udev rules dir
    2.11  udev_rules="/etc/udev/rules.d"