echo "none /tmp tmpfs defaults 0 0" >> /etc/fstab
fi
+# set up apt-cacher-ng
+/etc/init.d/apt-cacher-ng stop
+mkdir -p /scratch/apt-cacher-ng
+sed -i '/^CacheDir:/ s!^.*!CacheDir: /scratch/apt-cacher-ng!' /etc/apt-cacher-ng/zz_debconf.conf
+chown -R apt-cacher-ng:apt-cacher-ng /scratch/apt-cacher-ng
+/etc/init.d/apt-cacher-ng start
+
# update postfix for new configuration
newaliases
/etc/init.d/postfix restart
killall apt-get || true
apt-get update
-DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y --force-yes vim patchutils offlineimap diffstat gtimelog libtool devhelp python3-doc manpages-dev weechat weechat-plugins weechat-scripts wdiff ccache listadmin quilt mutt editmoin lintian ubuntu-dev-tools dput easytag rsnapshot texlive-lang-german texlive-latex-extra powertop qemu-kvm qemu-utils bzr-buildpackage git build-essential fakeroot devscripts libglib2.0-doc libgtk-3-doc git-buildpackage d-feet debootstrap wmctrl libnotify-bin svn-buildpackage pastebinit lptools openvpn pdfjam sbuild schroot exiv2 android-tools-adb phablet-tools gstreamer1.0-plugins-ugly flashplugin-installer valgrind calibre
+DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y --force-yes vim patchutils offlineimap diffstat gtimelog devhelp python3-doc manpages-dev weechat weechat-plugins weechat-scripts listadmin quilt mutt editmoin lintian ubuntu-dev-tools dput easytag rsnapshot texlive-lang-german texlive-latex-extra powertop qemu-kvm qemu-utils bzr-buildpackage git build-essential fakeroot devscripts libglib2.0-doc libgtk-3-doc git-buildpackage d-feet wmctrl libnotify-bin svn-buildpackage pastebinit lptools openvpn pdfjam sbuild schroot lxc exiv2 phablet-tools gstreamer1.0-plugins-ugly flashplugin-installer valgrind calibre
+# ccache
-apt-get -y --no-install-recommends build-dep postgresql-9.1 apport calibre udisks2 upower systemd pygobject umockdev
+apt-get -y --no-install-recommends build-dep calibre udisks2 upower systemd pygobject umockdev
# have schroot use tmpfs
rmdir /var/lib/schroot/unpack /var/lib/schroot/union/overlay/