Bug#601974: regression: grub-probe can not find /dev/xvda1 (block device inside XEN)

Csillag Kristof csillag.kristof at gmail.com
Wed Nov 17 15:17:51 UTC 2010


2010-11-17 16:01 keltezéssel, Vladimir 'φ-coder/phcoder' Serbinenko írta:
>
>> ~/grub2-1.98+20100804# patch --dry-run -p1 < /tmp/hostdisk.diff
>>   
>>     
> -p0, not p1
>   
I don't think that was the probme here.
-p1 finds the file (but fails), -p0 does not even find the file.
See this:
--------------------------------------------

intranet:~/grub2-1.98+20100804# file kern/emu/hostdisk.c
kern/emu/hostdisk.c: ASCII C program text
intranet:~/grub2-1.98+20100804# patch --dry-run -p0 < /tmp/hostdisk.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|=== modified file 'grub-core/kern/emu/hostdisk.c'
|--- grub-core/kern/emu/hostdisk.c    2010-11-06 23:10:49 +0000
|+++ grub-core/kern/emu/hostdisk.c    2010-11-17 09:39:45 +0000
--------------------------
File to patch: ^C





More information about the Pkg-grub-devel mailing list