Re: tracking latest devel kernel

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

 



Eli Carter wrote:
Ed L Cashin wrote:

I'm using 2.5.70-mm4 to try out some things, but I realize, as mm8 comes out, that my changes are
against a kernel that will soon be old.


I know that some people work against the current
development kernel (see quoted article from linux-mm
below), but since I am not using bitkeeper, I don't
know the best way to easily move my changes to
newer kernels.  (I use cvs, patch, and diff.)
[snip]

Oh, and one other thing. 'cp -lR' is useful. (The copy is faster, and diff is too.)

tar -xzf linux-2.4.18.tar.gz
mv linux linux-2.4.18
cp -lR linux-2.4.18 linux-2.4.19
(cd linux-2.4.19 && gunzip ../patch-2.4.19.gz | patch -p1)
cp -lR linux-2.4.19 linux-2.4.19-mine
(cd linux-2.4.19-mine && gunzip ../patch-2.4.19-mine.gz | patch -p1)

All the files that haven't changed are hardlinked together, so you don't use as much disk space. You do have to be careful to break the hardlink on files the first time you modify them, though.

HTH,

Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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