make_disc_trees.pl: fix block calculation for multi-arch
Per-package metadata files ($p.patterns and $p.component) go together, and both needed to be accounted for.
This commit is contained in:
parent
9fcb750948
commit
5e39a81adb
|
@ -1229,6 +1229,7 @@ sub add_firmware_stuff {
|
|||
# (e.g. multi-arch), in which case we'll replace it here
|
||||
if (-f "$dir/firmware/dep11/$p.patterns") {
|
||||
$blocks_added -= get_file_blocks("$dir/firmware/dep11/$p.patterns");
|
||||
$blocks_added -= get_file_blocks("$dir/firmware/dep11/$p.component");
|
||||
}
|
||||
|
||||
msg_ap(0, "(Maybe) generate fw pattern file $dir/firmware/dep11/$p.patterns\n");
|
||||
|
|
Loading…
Reference in New Issue