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

Re: patching acpi



On Fri, Aug 02, 2002 at 10:11:00AM -0300, Marcelo Chiapparini wrote:
> I want to apply the patch acpi-20020726-2.4.18.diff.gz to my 2.4.18 
> kernel. How should I proceed? I put the patch file in /usr/src and 
> typed:
> 
> zcat acpi-20020726-2.4.18.diff.gz | patch -p0 -s

Instead, cd to the top-level directory of your unpacked kernel source
tree (say, /usr/src/linux-2.4.18) and run:

  zcat /wherever/you/put/acpi-20020726-2.4.18.diff.gz | patch -p1

> So I think that I should be more specific, perhaps putting the patch 
> file in /usr/src/linux/drivers/acpi?

It doesn't matter where you put the patch file. Your current directory
matters, and you usually need a -p option to get rid of the appropriate
number of leading directory names from entries in the patch.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: