summaryrefslogtreecommitdiffstats
path: root/debian/patches/installed_size.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 17:03:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 17:03:17 +0000
commit14d5ddc28d01f2473cc4b0f227f8292679d5f3c0 (patch)
tree7a116e89ffaee9ed2de86e37358fe6bca4834a23 /debian/patches/installed_size.patch
parentReleasing progress-linux version 1.5.0-1~progress7.99u1. (diff)
downloadmmdebstrap-14d5ddc28d01f2473cc4b0f227f8292679d5f3c0.tar.xz
mmdebstrap-14d5ddc28d01f2473cc4b0f227f8292679d5f3c0.zip
Merging debian version 1.5.0-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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() {