summaryrefslogtreecommitdiff
path: root/packages/kexecboot/files/rootdelay.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2008-08-08 22:01:58 +0000
committerPhilip Balister <philip@balister.org>2008-08-08 22:01:58 +0000
commite9938336c173acad89726fa60605abba7c23d57f (patch)
tree2f9ec804e06669659653a1c8049639f4b6c31b7e /packages/kexecboot/files/rootdelay.patch
parent1f651e7bfd7409c8db96d530b74b31af2a79cf15 (diff)
parentda481e02805d3a9ec6e4cd70b6cbeb76d0af6fdb (diff)
merge of '05dd48c35e7fc8bd8ec725a975682953f4e2eb8b'
and 'e5d51ef06db323f64e81b4277041a3eb479eda1b'
Diffstat (limited to 'packages/kexecboot/files/rootdelay.patch')
-rw-r--r--packages/kexecboot/files/rootdelay.patch11
1 files changed, 11 insertions, 0 deletions
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);