mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
Fix udev rules for udev 1.25.
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
|
||||
groupadd nut
|
||||
|
||||
ln -svf ../init.d/nut /etc/rc.d/rc0.d/K20nut
|
||||
ln -svf ../init.d/nut /etc/rc.d/rc3.d/S20nut
|
||||
ln -svf ../init.d/nut /etc/rc.d/rc6.d/K20nut
|
||||
|
||||
12
src/patches/udev-config-6.2_persistent-storage-fix.patch
Normal file
12
src/patches/udev-config-6.2_persistent-storage-fix.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur udev-config-6.2.org/60-persistent-storage.rules udev-config-6.2/60-persistent-storage.rules
|
||||
--- udev-config-6.2.org/60-persistent-storage.rules 2006-05-13 01:03:13.000000000 +0200
|
||||
+++ udev-config-6.2/60-persistent-storage.rules 2010-08-14 11:08:35.000000000 +0200
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
# never access removable ide devices, the drivers are causing event loops on open()
|
||||
KERNEL=="hd*[!0-9]", SYSFS{removable}=="1", DRIVER=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
|
||||
-KERNEL=="hd*[0-9]", SYSFS{../removable}=="1", GOTO="persistent_storage_end"
|
||||
+KERNEL=="hd*[0-9]", SYSFS{removable}=="1", GOTO="persistent_storage_end"
|
||||
|
||||
# for partitions import parent information
|
||||
KERNEL=="*[0-9]", IMPORT{parent}=="ID_*"
|
||||
Reference in New Issue
Block a user