summaryrefslogtreecommitdiffstats
path: root/debian/patches/installed_size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/installed_size.patch')
-rw-r--r--debian/patches/installed_size.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/installed_size.patch b/debian/patches/installed_size.patch
new file mode 100644
index 0000000..9a3b860
--- /dev/null
+++ b/debian/patches/installed_size.patch
@@ -0,0 +1,11 @@
+--- a/mmdebstrap
++++ b/mmdebstrap
+@@ -4453,7 +4453,7 @@ sub approx_disk_usage {
+ find({ wanted => $scan_installed_size, no_chdir => 1 }, $directory);
+
+ # because the above is only a heuristic we add 10% extra for good measure
+- return int($installed_size * 1.1);
++ return int($installed_size * 1.2);
+ }
+
+ sub main() {