When adding packages outside of the normal path, add them to the list

of packages on the CD too. There's always a small chance we'll have to
remove them *again* (e.g. large source packages that don't fit), so
let's make that possible.
This commit is contained in:
Steve McIntyre 2011-03-28 12:36:58 +00:00
parent ff822a4d7c
commit f3bcdaabe8
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,7 @@ while (defined (my $pkg = <INLIST>)) {
print LOG "CD $disknum: GUESS_TOTAL is $size after adding $reinclude_pkg\n"; print LOG "CD $disknum: GUESS_TOTAL is $size after adding $reinclude_pkg\n";
$pkgs_this_cd++; $pkgs_this_cd++;
$pkgs_done++; $pkgs_done++;
push (@pkgs_added, $overflowpkg);
} }
} }
} }
@ -255,6 +256,7 @@ while (defined (my $pkg = <INLIST>)) {
print LOG "CD $disknum: GUESS_TOTAL is $size after adding $overflowpkg\n"; print LOG "CD $disknum: GUESS_TOTAL is $size after adding $overflowpkg\n";
$pkgs_this_cd++; $pkgs_this_cd++;
$pkgs_done++; $pkgs_done++;
push (@pkgs_added, $overflowpkg);
} }
} # end of creating new CD dir } # end of creating new CD dir