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:
parent
bbda95c283
commit
4308e4666c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue