mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
dracut: fixes for new udev and missing scsi_wait.
This commit is contained in:
13
src/patches/dracut-006_add_run_symlink.patch
Normal file
13
src/patches/dracut-006_add_run_symlink.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -Naur dracut-006.org/modules.d/99base/init dracut-006/modules.d/99base/init
|
||||
--- dracut-006.org/modules.d/99base/init 2010-06-17 10:46:29.000000000 +0200
|
||||
+++ dracut-006/modules.d/99base/init 2013-10-31 16:51:17.658771341 +0100
|
||||
@@ -87,6 +87,9 @@
|
||||
|
||||
ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
|
||||
|
||||
+# Add run symlink
|
||||
+ln -s /var/run /run
|
||||
+
|
||||
if getarg rdinitdebug; then
|
||||
getarg quiet && DRACUT_QUIET="yes"
|
||||
mkfifo /dev/initlog.pipe
|
||||
12
src/patches/dracut-006_remove_scsi_wait.patch
Normal file
12
src/patches/dracut-006_remove_scsi_wait.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur dracut-006.org/modules.d/99base/init dracut-006/modules.d/99base/init
|
||||
--- dracut-006.org/modules.d/99base/init 2010-06-17 10:46:29.000000000 +0200
|
||||
+++ dracut-006/modules.d/99base/init 2013-10-31 17:05:09.135475525 +0100
|
||||
@@ -175,7 +175,7 @@
|
||||
|
||||
$UDEV_QUEUE_EMPTY >/dev/null 2>&1 || continue
|
||||
|
||||
- modprobe scsi_wait_scan && rmmod scsi_wait_scan
|
||||
+ sleep 0.1
|
||||
|
||||
$UDEV_QUEUE_EMPTY >/dev/null 2>&1 || continue
|
||||
|
||||
Reference in New Issue
Block a user