summaryrefslogtreecommitdiff
path: root/packages/kexecboot
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-08-04 15:04:44 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-08-04 15:04:44 +0000
commit615fc240efab913c303ec3a464c341cbddba4687 (patch)
tree7cfed6198ad2ccca821f80625f787b3993d10230 /packages/kexecboot
parent7efe32a8489c41f1fedb5bcca5b4ffdbc4713359 (diff)
kexecboot: add missing patch
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);