Re: diff options

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

 



On Thu, Sep 05, 2002 at 01:23:18AM -0500, Geffrey VT wrote:
> Im trying to create a patch for the rh linux kernel "kernel-2.4.18-10.src.rpm", the original
> kernel tree is in /usr/src/redhat/BUILD/kernel2.4/linux and the modified is in
> /usr/src/linux, please which options for "diff" I must use to generate
> correctly the patch..

Read Documentation/SubmittingPatches in Linux kernel sources. Just the
first section is relevant for making the patch itself, so you don't need
to read further.

Note: patch does not work very well when differed files are in different
depth. So you should
ln -s /usr/src/redhat/BUILD/kernel2.4/linux /usr/src/rhlinux
That will make things less error-prone. I am not sure what path striping
would do otherwise.

> how can I place my own config file? Will be in the configs/ subdirectory?

Config file of what. I can't see anything like configs directory in
kernel. (I have no experience with red-hat kernels).

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
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