Compare commits

..

No commits in common. 'main' and '5fa2457fd55da2d459ea40e75d1bb1c673d95938' have entirely different histories.

@ -154,4 +154,3 @@ Contributors
- Konstantin Demin
- Trent W. Buck
- Vagrant Cascadian
- Gioele Barabucci

@ -4094,10 +4094,7 @@ sub approx_disk_usage {
$installed_size += 1;
}
};
# We use no_chdir because otherwise the unshared user has to have read
# permissions for the current working directory when producing an ext2
# image. See https://bugs.debian.org/1005857
find({ wanted => $scan_installed_size, no_chdir => 1 }, $directory);
find($scan_installed_size, $directory);
# because the above is only a heuristic we add 10% extra for good measure
return int($installed_size * 1.1);

Loading…
Cancel
Save