From e775f21a3a261b9436f30caedd2eeec226ed0152 Mon Sep 17 00:00:00 2001
From: Jan Dittberner <jan@dittberner.info>
Date: Sat, 27 Feb 2016 00:11:33 +0100
Subject: [PATCH] Increase root partition size to fit DVD iso in /srv

---
 http/preseed.cfg               | 2 +-
 scripts/babelbox-partitions.sh | 2 +-
 scripts/cleanup.sh             | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/http/preseed.cfg b/http/preseed.cfg
index 5cb9556..85dc7ad 100644
--- a/http/preseed.cfg
+++ b/http/preseed.cfg
@@ -44,7 +44,7 @@ d-i partman-auto/disk string /dev/sda
 d-i partman-auto/method string regular
 d-i partman-auto/expert_recipe string                    \
     root ::                                              \
-        4608 50 4608 ext4                                \
+        6144 50 6144 ext4                                \
                     $primary{ } $bootable{ }             \
                     method{ format } format{ }           \
                     use_filesystem{ } filesystem{ ext4 } \
diff --git a/scripts/babelbox-partitions.sh b/scripts/babelbox-partitions.sh
index 7233bdd..376b64c 100644
--- a/scripts/babelbox-partitions.sh
+++ b/scripts/babelbox-partitions.sh
@@ -9,7 +9,7 @@ n
 e
 3
 
-+4G
++3G
 n
 p
 
diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh
index 5510152..a853924 100755
--- a/scripts/cleanup.sh
+++ b/scripts/cleanup.sh
@@ -1,4 +1,6 @@
 # Clean up
+
+apt-get --yes remove libc6-dev gcc-4.8 gcc-4.9 linux-libc-dev gcc-4.8-base dmidecode laptop-detect
 apt-get --yes autoremove
 apt-get --yes clean