summaryrefslogtreecommitdiff
path: root/packages/kexecboot
diff options
context:
space:
mode:
Diffstat (limited to 'packages/kexecboot')
-rw-r--r--packages/kexecboot/files/.mtn2git_empty0
-rw-r--r--packages/kexecboot/files/rootdelay.patch11
2 files changed, 11 insertions, 0 deletions
diff --git a/packages/kexecboot/files/.mtn2git_empty b/packages/kexecboot/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/kexecboot/files/.mtn2git_empty
diff --git a/packages/kexecboot/files/rootdelay.patch b/packages/kexecboot/files/rootdelay.patch
new file mode 100644
index 0000000000..19a712ab57
--- /dev/null
+++ b/packages/kexecboot/files/rootdelay.patch
@@ -0,0 +1,11 @@
+--- kexecboot-0.3/kexecboot.c 2008-08-03 17:08:31.000000000 +0200
++++ kexecboot/kexecboot.c 2008-08-04 13:35:32.167062391 +0200
+@@ -84,7 +84,7 @@
+ char command[COMMAND_LINE_SIZE + 60];
+ mount(boot->device, "/mnt", boot->fstype, MS_RDONLY, NULL);
+ if( boot->cmdline )
+- sprintf(command,"/usr/sbin/kexec --command-line=\"%s root=%s rootfstype=%s\" -l %s",
++ sprintf(command,"/usr/sbin/kexec --command-line=\"%s root=%s rootfstype=%s rootdelay=3\" -l %s",
+ boot->cmdline, boot->device, boot->fstype, boot->kernelpath);
+ else
+ sprintf(command,"kexec -l %s", boot->kernelpath);