From: Ian Jackson Subject: Re: [PATCH OSSTEST v3] Arrange to upgrade microcode on x86 test hosts. Date: Mon, 15 Jun 2015 13:14:16 +0100 Message-ID: <21886.49560.964814.826704@mariner.uk.xensource.com> References: <1434357362-14577-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434357362-14577-1-git-send-email-ian.campbell@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 ("[PATCH OSSTEST v3] Arrange to upgrade microcode on x86 test hosts."): > --- > v3: > - iucode-tool is iucode_tool in Wheezy, Jessie has both names > - This exact version mg-cpu-microcode-update has been run in colo, > updated production-config* > - Avoid proxy with wget, since it was pointing at the apt-cache which > gave "403 Sorry, not allowed to fetch that type of file: > fiano0_microcode-cpio" Acked-by: Ian Jackson But, it occurs to me: > +wget -Y off -O /target/boot/microcode.cpio $cpio_url ... > +wget -Y off -O /target/usr/sbin/osstest-initramfs-gzip $gzip_url cf Osstest/Debian.pm:wget -O .ssh/authorized_keys '$authkeys_url' Osstest/Debian.pm:wget -O .ssh/known_hosts '$knownhosts_url' Osstest/Debian.pm:wget -O \$r/tmp/dtbs.tar.gz $durl Osstest/Debian.pm:wget -O \$r/tmp/kern.deb $kurl Osstest/Debian.pm:wget -O \$r/tmp/initramfs-tools.deb $iurl Osstest/Debian.pm: my $cmd_cmd= "wget -O $file '$url' && chmod +x $file && $file"; Osstest/Debian.pm:wget -O '$installer_pathname' '$url' Osstest/Debian.pm:wget -O overlay.tar '$url' Osstest/Serial/http.pm: system_checked(qw(wget -nH --cut-dirs=1 -r -l1 --no-parent), Perhaps wget in much of this should become $di_wget which contains `wget -Y off' ? We don't really want to be fetching any of this stuff through the apt-cache. Currently it's presumably it's working by chance, either because of what might be thought of as a bug in the apt cacher, or because d-i's setting of http_proxy to the supplied cache is not quite universal. Ian.