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

Re: help on patching a "rpm kernel"



On Mon, Sep 12, 2005 at 10:18:07PM +0200, Rakotomandimby Mihamina wrote:

> I tried to modify the patch to suit the Fedora src.rpm stuff.
> But I still have some problems: all the patch is rejected.

Why do you think so?

If I apply your patch manually to the 1450 kernel, in the same way
rpm will do, I see:

patching file drivers/net/8139too.c
Hunk #4 succeeded at 997 (offset 20 lines).
Hunk #6 succeeded at 2131 (offset 20 lines).
Hunk #8 succeeded at 2177 (offset 20 lines).
Hunk #10 succeeded at 2212 (offset 20 lines).
Hunk #12 succeeded at 2235 (offset 20 lines).

So the patch looks more-or-less ok...

> I guess it's a directory-<kernel-version> problem that hides to me...

It doesn't look so... the -p1 strips the first path component.

Maybe you can post the output of the rpmbuild that fails?

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


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