summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKwadronaut <kwadronaut@leap.se>2012-11-30 23:40:00 +0100
committerKwadronaut <kwadronaut@leap.se>2012-11-30 23:40:00 +0100
commit083a83ac86d0be1987dc8517372d5691422ac564 (patch)
tree85a471f0350a7c089539e26385b279187b65ce18
parent3261fc65020628817e5dc9efba6597479b771674 (diff)
disable apt pdiffs
-rw-r--r--wheezy/base.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/wheezy/base.sh b/wheezy/base.sh
index d67adde..ea35c6d 100644
--- a/wheezy/base.sh
+++ b/wheezy/base.sh
@@ -1,5 +1,8 @@
date > /etc/box_build_time
+# Before updating the box, get rid of pdiffs, they slow things down on faster links
+echo 'Acquire::PDiffs "false";' >./etc/apt/apt.conf.d/90disable-pdiffs
+
# Update the box
apt-get -y update
apt-get -y install linux-headers-$(uname -r) build-essential