[3451] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: outstanding bugs

daemon@ATHENA.MIT.EDU (Derek Atkins)
Fri Apr 13 10:33:19 2001

To: Greg Hudson <ghudson@MIT.EDU>
Cc: Jonathon Weiss <jweiss@MIT.EDU>, linux-dev@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 13 Apr 2001 10:33:06 -0400
In-Reply-To: Greg Hudson's message of "Fri, 13 Apr 2001 10:20:42 -0400"
Message-ID: <sjmwv8okgyl.fsf@rcn.ihtfp.org>

Greg Hudson <ghudson@MIT.EDU> writes:

> > ! rpm -qa | | sed -e 's/$/.ARCH.rpm/' > /var/athena/release-rpms
> 
> A few problems:
> 
> 	* "| |" will generate a syntax error.
> 	* You have to put a '/' at the beginning of the line
> 	  (rpmupdate should be less picky here, but it's not).
> 	* This will pretty much screw SMP machines.
> 
> Is it really that hard to stash the release RPM list somewhere and
> copy it in in the postinstall script?

The SIPB installer doesn't directly use the release RPM list, IIRC.
I suppose we could track that and then have a two stage process where
we:
	1) copy the file to the install dir
	2) put it in the proper place in the installation

> If you do go with this approach, you might consider:
> 
> rpm -qa --queryformat '/%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n'

So, how would this screw SMP machines?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

home help back first fref pref prev next nref lref last post