make_disc_trees.pl: fix block calculation for --rollback
Per-package metadata files ($p.patterns and $p.component) go together, and both needed to be accounted for.
This commit is contained in:
parent
5e39a81adb
commit
8bba3df865
|
@ -1488,6 +1488,10 @@ sub remove_firmware_stuff {
|
|||
$blocks_removed += get_file_blocks("$dir/firmware/dep11/$p.patterns");
|
||||
msg_ap(0, "Remove $dir/firmware/dep11/$p.patterns\n");
|
||||
unlink("$dir/firmware/dep11/$p.patterns");
|
||||
|
||||
$blocks_removed += get_file_blocks("$dir/firmware/dep11/$p.component");
|
||||
msg_ap(0, "Remove $dir/firmware/dep11/$p.component\n");
|
||||
unlink("$dir/firmware/dep11/$p.component");
|
||||
}
|
||||
|
||||
# Find the current size of the firmware Contents file, and grep
|
||||
|
|
Loading…
Reference in New Issue