From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13189 invoked from network); 7 Mar 1999 15:21:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Mar 1999 15:21:47 -0000 Received: from mail.op.net (d-bm4-1f.ppp.op.net [209.152.194.127]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA09674 for ; Sun, 7 Mar 1999 10:16:16 -0500 Received: (from rbowles@localhost) by mail.op.net (8.8.7/8.8.7) id KAA22669 for axp-list@redhat.com; Sun, 7 Mar 1999 10:31:08 -0500 Message-ID: <19990307103107.A21542@op.net> Date: Sun, 7 Mar 1999 10:31:07 -0500 From: Robert Bowles To: axp-list@redhat.com Subject: Re: bz2 - stupid question *DOH* Reply-To: rbowles@infonautics.com References: <4.1.19990307004213.00a4d100@mail.scruz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <4.1.19990307004213.00a4d100@mail.scruz.net>; from rich on Sun, Mar 07, 1999 at 12:42:39AM -0500 X-host-platform: Linux noname 2.2.2-ac5 n=11 Fri Feb 26 23:00:21 EST 1999 alpha unknown On Sun, Mar 07, 1999 at 12:42:39AM -0500, rich wrote: > In trying to build the 2.2.2 kernel on alpha, I know about the patch, but > I have not worked with bz2 files before -- what tool uncompresses them? > (sometimes you feel really dumb, as I know this one is going to be so > obvious...) > thanks > r 'bzip2' and 'bunzip2' (a symlink to bzip2). Here's a silly little example that extracts a kernel and applies patches: -- cd /usr/src (get a listing of the archive) -- bzip2 -cd /linux-2.2.0.tar.bz2 | tar -tf - (extract everything) -- bzip2 -cd /linux-2.2.0.tar.bz2 | tar -xvf - -- bzip2 -cd /patch-2.2.1.bz2 | patch -p0 -- bzip2 -cd /patch-2.2.2.bz2 | patch -p0 -- bzip2 -cd /patch-2.2.2-ac5.bz2 | patch -p0 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > -- void rbowles(int sig) { signal(sig, rbowles); raise(sig); }