Debian: Log which kernel/initrd we failed to copy.
PATCH 1/1 Debian: Log which kernel/initrd we failed to copy.
Helpful to trackdown which config var I've got wrong.
Signed-off-by Ian Campbell <[email protected]>
--- Osstest/Debian.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Osstest/Debian.pm +6 -4
@@ -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
Ian Jackson
AppliedIan 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.