how to use diff?

John, Gareth GJohn at qualcomm.com
Wed Dec 19 02:28:31 PST 2001


cd /usr/src/linux
bzcat patch.bz2 | patch -p1

should apply the patch to your kernel source in /usr/src/linux.
Alternatively:

cd /usr/src/linux
bzip2 -d -c patch.bz2 | patch -p1

will accomplish exactly the same thing. man bzip2 for more details.

Gareth

> -----Original Message-----
> From: Olaf Gruettner [mailto:olaf.gruettner at web.de]
> Sent: 19 December 2001 09:45
> To: blfs
> Subject: how to use diff?
> 
> 
> I would like to have a patch from my kernel to the most recent kernel.
> So I have downloaded them both (bz2). 
> Is there a way to make that patch  w i t h o u t  unpacking them?
> reason here is: I do have not enough space.
> 
> Something like a pipe would help as well.
> 
> Olaf
> -- 
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe blfs-support' in the subject header of 
> the message
> 
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list