Author: jw Date: 2006-08-23 21:31:02 +0200 (Wed, 23 Aug 2006) New Revision: 1763 Added: crux-2.2/ports/core/udev/crux.rules crux-2.2/ports/core/udev/dvb_helper Modified: crux-2.2/ports/core/udev/.footprint crux-2.2/ports/core/udev/.md5sum crux-2.2/ports/core/udev/Pkgfile Log: udev: add dvb handling Modified: crux-2.2/ports/core/udev/.footprint =================================================================== --- crux-2.2/ports/core/udev/.footprint 2006-08-23 09:41:47 UTC (rev 1762) +++ crux-2.2/ports/core/udev/.footprint 2006-08-23 19:31:02 UTC (rev 1763) @@ -5,6 +5,7 @@ drwxr-xr-x root/root etc/udev/rules.d/ -rw-r--r-- root/root etc/udev/rules.d/05-udev-early.rules -rw-r--r-- root/root etc/udev/rules.d/25-lfs.rules +-rw-r--r-- root/root etc/udev/rules.d/26-crux.rules -rw-r--r-- root/root etc/udev/rules.d/26-modprobe.rules -rw-r--r-- root/root etc/udev/rules.d/27-firmware.rules -rw-r--r-- root/root etc/udev/rules.d/60-persistent-storage.rules @@ -30,6 +31,7 @@ lrwxrwxrwx root/root lib/udev/devices/stdin -> /proc/self/fd/0 lrwxrwxrwx root/root lib/udev/devices/stdout -> /proc/self/fd/1 crw-rw-rw- root/root lib/udev/devices/zero (1, 5) +-rwxr-xr-x root/root lib/udev/dvb_helper -rwxr-xr-x root/root lib/udev/edd_id -rwxr-xr-x root/root lib/udev/firmware.sh -rwxr-xr-x root/root lib/udev/path_id Modified: crux-2.2/ports/core/udev/.md5sum =================================================================== --- crux-2.2/ports/core/udev/.md5sum 2006-08-23 09:41:47 UTC (rev 1762) +++ crux-2.2/ports/core/udev/.md5sum 2006-08-23 19:31:02 UTC (rev 1763) @@ -1,5 +1,7 @@ c0da74341672681c9bd924439ea4e84d cdrom.rules 6c4a8bd7aef573838305e212ffb9bc6a cdsymlinks +ef01d7356869dc070029b8de9b6d4f7d crux.rules +7818c207e95af667657782ba9884a404 dvb_helper 40ab559668ab739473fa9f4a45ba28da start_udev f4effef7807ce1dc91ab581686ef197b udev-096.tar.bz2 6ef52d52f45ca91daea3cfa840d1083b udev-config-20060715.tar.bz2 Modified: crux-2.2/ports/core/udev/Pkgfile =================================================================== --- crux-2.2/ports/core/udev/Pkgfile 2006-08-23 09:41:47 UTC (rev 1762) +++ crux-2.2/ports/core/udev/Pkgfile 2006-08-23 19:31:02 UTC (rev 1763) @@ -4,10 +4,10 @@ name=udev version=096 -release=2 +release=3 source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2 http://crux.nu/files/udev-config-20060715.tar.bz2 - start_udev cdrom.rules cdsymlinks) + start_udev cdrom.rules cdsymlinks crux.rules dvb_helper) build() { cd udev-$version @@ -34,5 +34,7 @@ cp $SRC/udev-config-20060715/*.rules $PKG/etc/udev/rules.d/ install -m 0755 $SRC/start_udev $PKG/sbin install -m 0755 $SRC/cdsymlinks $PKG/lib/udev/ + install -m 0755 $SRC/dvb_helper $PKG/lib/udev/ cat $SRC/cdrom.rules >> $PKG/etc/udev/rules.d/81-cdrom.rules + cat $SRC/crux.rules >> $PKG/etc/udev/rules.d/26-crux.rules } Added: crux-2.2/ports/core/udev/crux.rules =================================================================== --- crux-2.2/ports/core/udev/crux.rules (rev 0) +++ crux-2.2/ports/core/udev/crux.rules 2006-08-23 19:31:02 UTC (rev 1763) @@ -0,0 +1,4 @@ +# CRUX udev rules + +# DVB handling +KERNEL=="dvb*", PROGRAM="/lib/udev/dvb_helper %k", NAME="%c" Added: crux-2.2/ports/core/udev/dvb_helper =================================================================== --- crux-2.2/ports/core/udev/dvb_helper (rev 0) +++ crux-2.2/ports/core/udev/dvb_helper 2006-08-23 19:31:02 UTC (rev 1763) @@ -0,0 +1,5 @@ +#!/bin/sh +# Helper script to name dvb devices; taken from Documentation/dvb/udev.txt + +/bin/echo $1 | \ + /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,' Property changes on: crux-2.2/ports/core/udev/dvb_helper ___________________________________________________________________ Name: svn:executable + *