wok-4.x diff udev/receipt @ rev 841

Tidy up boot help screens (en)
author Paul Issott <paul@slitaz.org>
date Sun May 18 13:36:02 2008 +0000 (2008-05-18)
parents a98ae02c2022
children 7852a7209fe4
line diff
     1.1 --- a/udev/receipt	Mon May 12 01:50:36 2008 +0200
     1.2 +++ b/udev/receipt	Sun May 18 13:36:02 2008 +0000
     1.3 @@ -13,28 +13,37 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	make
     1.8 +	make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
     1.9 +		extras/ata_id extras/usb_id extras/cdrom_id"
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/sbin $fs/etc/udev $fs/lib/udev $fs/lib/firmware
    1.16 -	
    1.17 +
    1.18  	# /sbin
    1.19  	cp -a $src/udevd $fs/sbin
    1.20  	cp -a $src/udevadm $fs/sbin
    1.21 -	
    1.22 +
    1.23  	# Config files.
    1.24  	cp stuff/udev.conf $fs/etc/udev
    1.25  	cp -a $src/etc/udev/rules.d $fs/etc/udev
    1.26 -	cp -a $src/extras/firmware/firmware.sh $fs/lib/udev
    1.27  	cp stuff/90-permissions.rules $fs/etc/udev/rules.d
    1.28  	cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d
    1.29 +
    1.30 +	# Extra
    1.31 +	cp -a $src/extras/firmware/firmware.sh $fs/lib/udev
    1.32 +	cp -a $src/extras/volume_id/vol_id $fs/lib/udev
    1.33 +	cp -a $src/extras/volume_id/lib/*.so* $fs/lib
    1.34 +	#cp -a $src/extras/cdrom_id/cdrom_id $fs/lib/udev
    1.35 +	#cp -a $src/extras/ata_id/ata_id $fs/lib/udev
    1.36 +	#cp -a $src/extras/scsi_id/scsi_id $fs/lib/udev
    1.37 +	#cp -a $src/extras/usb_id/usb_id $fs/lib/udev
    1.38  }
    1.39  
    1.40  clean_wok()
    1.41  {
    1.42 -	rm device_*
    1.43 -	rm whitespace_*
    1.44 +	rm -f device_*
    1.45 +	rm -f whitespace_*
    1.46  }