summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 141fc2c..b0bdee2 100755
--- a/draklive
+++ b/draklive
@@ -728,7 +728,7 @@ sub create_disk_master {
directory_usage($live->get_builddir . $live->{prefix}{build}{boot}) +
directory_usage($live->get_builddir . $live->{prefix}{build}{files}) +
70000000) :
- 200000000 + fold_left { $::a + $::b } map { $_->{size} * $common::SECTORSIZE } @{$live->{media}{partitions}};
+ fold_left { $::a + $::b } map { $_->{size} * $common::SECTORSIZE } @{$live->{media}{partitions}};
my @loops = allocate_master($live, $live->{media}, $dest, $disk_size);
my $slash_idx = $live->{media}->find_partition_index('/');
@@ -1120,7 +1120,7 @@ sub create_usb_replicator {
my $dest = get_disk_replicator_path($live);
my %files = get_disk_replicator_files($live);
- my $size = 8000000 + fold_left { $::a + $::b } map { directory_usage($_, 'apparent') } keys(%files);
+ my $size = fold_left { $::a + $::b } map { directory_usage($_, 'apparent') } keys(%files);
$live->{replicator}{media}->supplement_partitions($size);
my @loops = allocate_master($live, $live->{replicator}{media}, $dest, $size);