aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kexecboot/kexecboot-0.4/add-sleep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kexecboot/kexecboot-0.4/add-sleep.patch')
-rw-r--r--recipes/kexecboot/kexecboot-0.4/add-sleep.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/kexecboot/kexecboot-0.4/add-sleep.patch b/recipes/kexecboot/kexecboot-0.4/add-sleep.patch
new file mode 100644
index 0000000000..8f41b0ef10
--- /dev/null
+++ b/recipes/kexecboot/kexecboot-0.4/add-sleep.patch
@@ -0,0 +1,12 @@
+--- a/kexecboot.c 2009-01-24 14:11:17.000000000 +0100
++++ b/kexecboot.c 2009-01-24 14:15:03.000000000 +0100
+@@ -427,6 +427,9 @@
+
+ DPRINTF("I'm the init-process!\n");
+
++ /* extra delay for initializing slow SD/CF */
++ sleep(1);
++
+ /* Mount procfs */
+ if ( -1 == mount("proc", "/proc", "proc",
+ 0, NULL) ) {