Re: recover old patch

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 22, 2007 at 11:23:42AM -0400, gxk wrote:
> i have kernel 2.6.11 and want to apply platform_driver patch from 2.6.18

Your question is like: "I have a Ford Model T car and I want to install
a 2007 Ford Mondeo engine.". That won't work, better get a Mondeo with
the engine included.

Same with Linux: backporting recent patches to ancient kernels is so
much work that you will end up with a kernel close to a recent kernel.
Better start with that recent kernel in the first place.

> Tell me if follows way to do it is right:
> 1. Create git repository for 2.6.17 and 2.6.18

I'd say just clone Linus 2.6 repository, that gets you 2.6.17, 2.6.18,
plus all commits from 2.6.12 upto the most recent kernel.

> 2. Restore patch, by diffing

"git diff v2.6.17..v2.6.18" should get you the complete 2.6.17-->2.6.18
patch. You can't apply that patch to 2.6.11, too many things have
changed. Better upgrade to 2.6.18, or even beter to 2.6.22 and work
from there.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGzA1q/PlVHJtIto0RAlOwAJ99lrfgDyWkLjMSC1HUwtYi0Q2u4QCfZmI1
YlKreP3yGMi/igZm1fxFiBQ=
=qRNK
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux