[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Query - How to apply patch to uClinux-dist directory
From: |
Bob Proulx |
Subject: |
Re: Query - How to apply patch to uClinux-dist directory |
Date: |
Thu, 11 Mar 2010 22:47:20 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Note: This would be a better question for help-gnu-utils rather than
bug-gnu-utils since you are asking for help instead of reporting a
bug.
purushotam rao wrote:
> #cd /usr
> #tar -xvjf uClinux-dist-20090618.tar.bz2
> This created "uClinux-dist" directory.
> Patch file" uClinux-20090618-20091129.patch" is located in /usr
> directory.
>
> # patch -d /usr/uClinux-dist/
> This command has not given any output. So used the following command
> option.
You didn't provide any input. You didn't tell it about the patch file.
> #patch -p1 /usr/uClinux-dist
> This command also not given any output.
Again, you didn't provide it with a patch file.
> #patch -i /usr/uClinux-dist
> This command given the error message as "patch: **** read error : Is a
> directory"
The -i option takes the name of a patchfile, not a directory.
> Can you please guide me How to apply patch to the uClinux-dist directory.
Try this:
gunzip uClinux-20090618-20091129.patch.gz
patch -p0 uClinux-20090618-20091129.patch
Bob