disable apt pdiffs
authorKwadronaut <kwadronaut@leap.se>
Fri, 30 Nov 2012 22:40:00 +0000 (23:40 +0100)
committerKwadronaut <kwadronaut@leap.se>
Fri, 30 Nov 2012 22:40:00 +0000 (23:40 +0100)
wheezy/base.sh

index d67adde..ea35c6d 100644 (file)
@@ -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