[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-xen] Re: Using large disk in DomU

Robin Bowes wrote:
> Daniel P. Berrange wrote:
>> On Tue, Nov 21, 2006 at 08:35:38PM +0000, Robin Bowes wrote:
>>> Any idea what's wrong?
>> Wrong patch stripping I think - it should actually be '-p2' instead 
>> of '-p1'.
> I tried -p2 - same problem.


I'm really struggling here - I can't seem to get the original patch to
apply, even manually.

I tried this:

Created ~/rpmbuild/SOURCES/xen-large-disk.patch using the content here:


Installed kernel-2.6.18-1.2849.fc6.src.rpm.

Ran "rpmbuild -bp ~/rpmbuild/SPECS/kernel-xen.spec"

Switched to ~/rpmbuild/BUILD/kernel-2.6.18

Ran patch -p2 < ../../SOURCES/xen-large-disks.patch


can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Tue Nov 21
09:26:43 2006 +0000
|+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Tue Nov 21
10:16:58 2006 +0000
File to patch:

Any idea what I'm doing wrong here?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]