udev: fix module loading with binary firmware in the initramfs.

Add 50-firmware.rules into the initramfs to make drivers that use
binary firmware blobs work. I noticed this when booting the livecd
and udev failed to flush the queue with radeon driver. Of course
it couldn't load the requested firmware.

Bump revision.

--HG--
extra : convert_revision : aca4dc2f6e9abdff9f853fd220c0cdc50ecfa9e1
This commit is contained in:
Juan RP 2009-12-04 02:39:26 +01:00
parent 45ea8efc00
commit ca0006b0ed
2 changed files with 9 additions and 5 deletions

View File

@ -30,10 +30,14 @@ cp -p /etc/udev/udev.conf ${DESTDIR}/etc/udev
# Only copy across relevant rules
mkdir -p ${DESTDIR}/lib/udev/rules.d
for rules in 50-udev-default.rules 60-persistent-storage.rules \
61-persistent-storage-edd.rules 64-device-mapper.rules \
64-md-raid.rules 80-drivers.rules 95-udev-late.rules; do
cp -p /lib/udev/rules.d/$rules ${DESTDIR}/lib/udev/rules.d
UDEV_RULES="
50-udev-default.rules 50-firmware.rules 60-persistent-storage.rules
61-persistent-storage-edd.rules 64-device-mapper.rules
64-md-raid.rules 80-drivers.rules 95-udev-late.rules"
for f in ${UDEV_RULES}; do
cp -p /lib/udev/rules.d/$f ${DESTDIR}/lib/udev/rules.d
done
# Copy across helpers the rules need

View File

@ -1,7 +1,7 @@
# Template file for 'udev'
pkgname=udev
version=147
revision=1
revision=2
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--exec-prefix= --without-selinux --libexecdir=/lib/udev