make_disc_trees.pl: add components to Contents-firmware indices

All three columns could be aligned, but I'm not sure how many characters
should be allocated to the package filename. Alternatively, we could
scratch alignment altogether, and let interested users use column -t on
the file when debugging.
This commit is contained in:
Cyril Brulebois 2023-01-21 16:40:58 +01:00
parent bbda95c283
commit 4308e4666c
1 changed files with 1 additions and 1 deletions

View File

@ -1245,7 +1245,7 @@ sub add_firmware_stuff {
while (defined(my $line = <DPKGC>)) {
chomp $line;
if ($line =~ m,^[-|l]\S+\s+\S+\s+\d+\s+\S+\s+\S+\s+./(\S+/firmware/\S+)$,) {
printf OFILE "%-55s %s\n", "/$1", $base_file;
printf OFILE "%-55s %s %s\n", "/$1", $base_file, $component;
}
}
close DPKGC;