summaryrefslogtreecommitdiff
path: root/packages/kexecboot/kexecboot-0.4/add-sleep.patch
blob: 8f41b0ef1060ff217eae4200f30aeae0e55bf79c (plain)
1
2
3
4
5
6
7
8
9
10
11
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) ) {