From 4308e4666cc3340645e55e681d26d49812b0db8f Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sat, 21 Jan 2023 16:40:58 +0100 Subject: [PATCH] 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. --- tools/make_disc_trees.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_disc_trees.pl b/tools/make_disc_trees.pl index 4fecccd0..6ffeb11c 100755 --- a/tools/make_disc_trees.pl +++ b/tools/make_disc_trees.pl @@ -1245,7 +1245,7 @@ sub add_firmware_stuff { while (defined(my $line = )) { 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;