From: Ian Campbell Subject: [PATCH OSSTEST] Debian: Log which kernel/initrd we failed to copy. Date: Fri, 6 Mar 2015 10:05:34 +0000 Message-ID: <1425636334-6381-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: 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.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Helpful to trackdown which config var I've got wrong. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index f6874af..c0af0b3 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -741,14 +741,16 @@ END foreach my $kp (keys %{ $ho->{Flags} }) { $kp =~ s/need-kernel-deb-// or next; + my $kern = "$d_i/$kp.deb"; my $kurl = create_webfile($ho, "kernel", sub { - copy("$d_i/$kp.deb", $_[0]) - or die "Copy kernel failed: $!"; + copy($kern, $_[0]) + or die "Copy kernel $kern failed: $!"; }); + my $ird = "$d_i/initramfs-tools.deb"; my $iurl = create_webfile($ho, "initramfs-tools", sub { - copy("$d_i/initramfs-tools.deb", $_[0]) - or die "Copy initramfs-tools failed: $!"; + copy($ird, $_[0]) + or die "Copy initramfs-tools %ird failed: $!"; }); preseed_hook_command($ho, 'late_command', $sfx, <