Re: How to make a kernel patch

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

 



On Fri, 03 Jan 2003 22:22:53 +0000
D Qi <dqi@freenet.co.uk> wrote:

>Hi, Fellows,
>
>I made some changes on the kernel source tree (2.4.10) and want to make 
>a patch file for it. So I can apply the changes later on rather than 
>make an archive for whole thing. But, how can I do it?

Really simple.
Rename your kernel source tree (for example linux-2.4.10-dqi) then 

cd linux-2.4.10
make distclean
cd ../linux-2.4.10-dqi
make distclean
cd ..
diff -Naur linux-2.4.10 linux-2.4.10-dqi > patch
(optional) gzip patch

..that's all!

Regards,

Angelo Dell'Aera 'buffer' 
<buffer@users.sourceforge.net>

PGP information in e-mail header

Attachment: pgp00246.pgp
Description: PGP signature


[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