Skip to contentSkip to conversation

Debian: Log which kernel/initrd we failed to copy.

PATCH Applied Ian Campbell 2 participants 2 messages Mar 6, 2015 – May 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Debian: Log which kernel/initrd we failed to copy.

Helpful to trackdown which config var I've got wrong.

---
 Osstest/Debian.pm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
Osstest/Debian.pm +6 -4
index f6874af..c0af0b3 100644
@@ -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, <<END);
Signature · 1 line
2.1.4
Applied
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST] Debian: Log which kernel/initrd we failed to copy."):

Osstest/Debian.pm END · line 753

Quoted 3 lines

Helpful to trackdown which config var I've got wrong.

Osstest/Debian.pm +1 -0
+		or die "Copy initramfs-tools %ird failed: $!";

Queued with that %ird changed to $ird.

Thanks,
Ian.