Messages in this thread | | | Date | Tue, 13 Feb 2001 15:12:56 +0000 (GMT) | From | Tigran Aivazian <> |
| |
Alan's patches are installed like this:
# cd /usr/src # tar xIf linux-2.4.1.tar.bz2 # cd linux # patch -sp1 < ../patch-2.4.1-ac6 # chown -R root:root .
Note the "-sp1" and that you need to be _inside_ the tree. Also, you don't need to waste another process ("cat") and create a pipe, just use shell input redirection facility "<".
Regards, Tigran
On Tue, 13 Feb 2001, Thomas Foerster wrote:
> Hi folks, > > sorry for the silly question, but i can't get it to work : > > I have linux-2.4.1 unpacked, configured and installed. > Now i want to apply Alan Cox patche (linux-2.4.1-ac9), but i always get > these errors : > > [root@space src]# cat /home/puck/patch-2.4.1-ac9 | patch -p0 > can't find file to patch at input line 4 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/CREDITS linux.ac/CREDITS > |--- linux.vanilla/CREDITS Wed Jan 31 22:05:29 2001 > |+++ linux.ac/CREDITS Fri Feb 9 13:19:13 2001 > -------------------------- > File to patch: > [root@space src]# > > Do i have to create linux.vanilla and linux.ac, or what's the magic?! :-) > > Thanx a lot, > Thomas > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |