kexecboot: add missing patch
authorThomas Kunze <thommycheck@gmx.de>
Mon, 4 Aug 2008 15:04:44 +0000 (15:04 +0000)
committerThomas Kunze <thommycheck@gmx.de>
Mon, 4 Aug 2008 15:04:44 +0000 (15:04 +0000)
packages/kexecboot/files/.mtn2git_empty [new file with mode: 0644]
packages/kexecboot/files/rootdelay.patch [new file with mode: 0644]

diff --git a/packages/kexecboot/files/.mtn2git_empty b/packages/kexecboot/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/kexecboot/files/rootdelay.patch b/packages/kexecboot/files/rootdelay.patch
new file mode 100644 (file)
index 0000000..19a712a
--- /dev/null
@@ -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);