summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-24 13:42:17 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-24 13:42:17 +0200
commit5decf6d81362ee1903da1400744061b999263df9 (patch)
tree8af23c3751906a842723a16fa7afbfe32d0a7ad2
parent1a1c80febe939733161d52ab80963e8cef9ebc62 (diff)
downloaddracut-5decf6d81362ee1903da1400744061b999263df9.tar.gz
dracut-5decf6d81362ee1903da1400744061b999263df9.tar.bz2
dracut-5decf6d81362ee1903da1400744061b999263df9.zip
add debian udev rule files
-rwxr-xr-xmodules.d/90dm/module-setup.sh2
-rwxr-xr-xmodules.d/90lvm/module-setup.sh2
-rwxr-xr-xmodules.d/95udev-rules/module-setup.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/modules.d/90dm/module-setup.sh b/modules.d/90dm/module-setup.sh
index 314c082f..5576b026 100755
--- a/modules.d/90dm/module-setup.sh
+++ b/modules.d/90dm/module-setup.sh
@@ -29,6 +29,8 @@ install() {
# Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install above rules
# files, but provides the one below:
inst_rules 64-device-mapper.rules
+ # debian udev rules
+ inst_rules 60-persistent-storage-dm.rules 55-dm.rules
inst_rules "$moddir/11-dm.rules"
diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh
index 4450eb03..d714c133 100755
--- a/modules.d/90lvm/module-setup.sh
+++ b/modules.d/90lvm/module-setup.sh
@@ -65,6 +65,8 @@ install() {
# Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install above rules
# files, but provides the one below:
inst_rules 64-device-mapper.rules
+ # debian udev rules
+ inst_rules 56-lvm.rules 60-persistent-storage-lvm.rules
inst_script "$moddir/lvm_scan.sh" /sbin/lvm_scan
inst_hook cmdline 30 "$moddir/parse-lvm.sh"
diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
index 26a42902..1e9a0551 100755
--- a/modules.d/95udev-rules/module-setup.sh
+++ b/modules.d/95udev-rules/module-setup.sh
@@ -36,6 +36,8 @@ install() {
"$moddir/61-persistent-storage.rules"
prepare_udev_rules 59-persistent-storage.rules 61-persistent-storage.rules
+ # debian udev rules
+ inst_rules 91-permissions.rules
{
for i in cdrom tape dialout floppy; do