From: Ian Jackson Subject: Re: [PATCH OSSTEST] Arrange to upgrade microcode on x86 test hosts. Date: Fri, 12 Jun 2015 11:21:23 +0100 Message-ID: <21882.45731.189274.88340@mariner.uk.xensource.com> References: <1434019943-10803-1-git-send-email-ian.campbell@citrix.com> <21881.43945.535905.559310@mariner.uk.xensource.com> <1434037609.30003.170.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434037609.30003.170.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH OSSTEST] Arrange to upgrade microcode on x86 test hosts."): > On Thu, 2015-06-11 at 16:39 +0100, Ian Jackson wrote: > > If $c{prop} is undef, the logm will produce a warning. Maybe you want > > //'' somewhere. > > I think that was a stray wip debug thing, I could fix, remove or move it > below the check of $c{$prop}. Any of those would be fine by me. > > This use of caps lock for unexported shell variables is rather > > unidiomatic, don't you think ? > > I'm not really in the habit of caring for short scripts, but I'll down > case them. I find it confusing, because I want to know what other process is going to be using them. Thanks. > > mg-debian-installer-update is idempotent. Perhaps this script should > > be too ? After all you can only overwrite something generated today. > > True. I'll arrange that. > > I'll see if I can also make it deterministic like with the installer > stuff, which will make spotting differences easier. Great. > > > +for BIN in $AMD_BINS ; do > > > + curl -s $LINUX_FW/plain/$BIN > $BIN > > > +done > > > > We're really fetching these via the gitweb/cgit/... ? Isn't that a > > bit fragile ? > > A bit, yes. The alternative is to clone the whole of linux-firmware.git. > I suppose with --depth=1 that might not be so bad. Would you prefer > that? Yes. Will go on to read your v2 just now... Ian.