wok-6.x diff udev/receipt @ rev 14952

Up: ethumb-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:16:04 2013 +0200 (2013-08-08)
parents 9358cad090a0
children 380ffe05937a
line diff
     1.1 --- a/udev/receipt	Sat Apr 28 18:52:14 2012 +0200
     1.2 +++ b/udev/receipt	Thu Aug 08 19:16:04 2013 +0200
     1.3 @@ -40,13 +40,13 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/lib/firmware $fs/run/udev
     1.8 +	mkdir -p $fs/lib/firmware
     1.9  
    1.10  	cp -a $install/sbin $fs
    1.11  	cp -a $install/etc $fs
    1.12  	cp -a $install/lib/libudev*so* $fs/lib
    1.13  	cp -a $install/lib/udev $fs/lib
    1.14 -	
    1.15 +
    1.16  	# Have udevd in PATH
    1.17  	mv $fs/lib/udev/udevd $fs/sbin
    1.18  
    1.19 @@ -54,12 +54,13 @@
    1.20  	mv -f $fs/lib/udev/rules.d $fs/etc/udev
    1.21  	cp $stuff/udev.conf $fs/etc/udev
    1.22  	cp $stuff/*.rules $fs/etc/udev/rules.d
    1.23 -	
    1.24 -	# Create some devices and directories that Udev cannot handle 
    1.25 +
    1.26 +	# Create some devices and directories that Udev cannot handle
    1.27  	# due to them being required very early in the boot process
    1.28  	mkdir -p $fs/lib/udev/devices/pts
    1.29 +	mkdir -p $fs/lib/udev/devices/shm
    1.30  	mknod -m 0666 $fs/lib/udev/devices/null c 1 3
    1.31 -	
    1.32 +
    1.33  	# Fix permissions
    1.34  	chmod +x $fs/lib/udev/*
    1.35  	chown -R root.root $fs