wok-current rev 2301

udev + pcmciautils: fix path in udev rules
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 23 14:02:39 2009 +0100 (2009-02-23)
parents 52b7909de402
children 8a251dbc2bed
files pcmciautils/receipt udev/receipt
line diff
     1.1 --- a/pcmciautils/receipt	Mon Feb 23 13:44:27 2009 +0100
     1.2 +++ b/pcmciautils/receipt	Mon Feb 23 14:02:39 2009 +0100
     1.3 @@ -30,4 +30,9 @@
     1.4  	# Udev rules and config.
     1.5  	cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
     1.6  	cp -a $src/config/config.opts $fs/etc/pcmcia
     1.7 +	# Fix path
     1.8 +	sed -i s#/lib/udev/pcmcia-check-broken-cis#/sbin/pcmcia-check-broken-cis# \
     1.9 +		$fs/etc/udev/rules.d/60-pcmcia.rules
    1.10 +	sed -i s#/lib/udev/pcmcia-socket-startup#/sbin/pcmcia-socket-startup# \
    1.11 +		$fs/etc/udev/rules.d/60-pcmcia.rules
    1.12  }
     2.1 --- a/udev/receipt	Mon Feb 23 13:44:27 2009 +0100
     2.2 +++ b/udev/receipt	Mon Feb 23 14:02:39 2009 +0100
     2.3 @@ -43,11 +43,6 @@
     2.4  	cp stuff/90-permissions.rules $fs/etc/udev/rules.d
     2.5  	cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
     2.6  	
     2.7 -	# Fix pcmciautils path
     2.8 -	sed -i s'|/lib/udev/pcmcia-check-broken-cis|/sbin/pcmcia-check-broken-cis' \
     2.9 -		$fs/etc/udev/rules.d/60-pcmcia.rules
    2.10 -	sed -i s'|/lib/udev/pcmcia-socket-startup|/sbin/pcmcia-socket-startup|' \
    2.11 -		$fs/etc/udev/rules.d/60-pcmcia.rules
    2.12  	# Fix permissions
    2.13  	chmod +x $fs/lib/udev/write*
    2.14  }