klibc-udev: add missing rules into the initramfs-tools hook.

--HG--
extra : convert_revision : c9fa316dc7de97d092aee5b276686783f712cae2
This commit is contained in:
Juan RP 2009-04-13 05:21:27 +02:00
parent 394dfb9c1e
commit 8c6fe3d746
2 changed files with 5 additions and 7 deletions

View file

@ -35,16 +35,13 @@ 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 80-drivers.rules 95-udev-late.rules; do
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
done
# Copy across helpers the rules need
mkdir -p ${DESTDIR}/lib/udev
# 50-udev-default.rules
# 60-persistent-storage.rules
#copy_exec /lib/udev/ata_id /lib/udev
#copy_exec /lib/udev/usb_id /lib/udev
copy_exec /usr/lib/klibc/udev/vol_id /lib/udev
#copy_exec /lib/udev/scsi_id /lib/udev
copy_exec /usr/lib/klibc/udev/path_id /lib/udev
cp -f /lib/udev/firmware.sh ${DESTDIR}/lib/udev

View file

@ -1,6 +1,7 @@
# Template file for 'klibc-udev'
pkgname=klibc-udev
version=141
revision=1
wrksrc="udev-${version}"
distfiles="
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.bz2"
@ -29,7 +30,7 @@ do_install()
install -m755 extras/path_id/path_id ${DESTDIR}/usr/lib/klibc/udev
install -s -m755 extras/volume_id/vol_id ${DESTDIR}/usr/lib/klibc/udev
# Install the initramfs-tools hook.
# Install the initramfs-tools hook/scripts.
install -d $DESTDIR/usr/share/initramfs-tools/hooks
install -d $DESTDIR/usr/share/initramfs-tools/scripts/init-premount
install -d $DESTDIR/usr/share/initramfs-tools/scripts/init-bottom