>| /var/log/initial_setup-dkms-686-install.log 2>&1
fi
+# Prune DKMS's build -- should be no need to carry it around
+find /var/lib/dkms -iname build | xargs -r rm -rf
+
# Add brain use into vboxsf group so he gets access to shared folders
# by default
adduser brain vboxsf
# XXX last ones are actually pulled it by neurodebian-guest-additions whenever we
# resolve their destiny ;-) a;though it might be pooling too much, eg exim4
-# TODO: pre-configure the panel "Welcome to the first start of the panel", "Use default config"?
# Clean-up installed development files which got pulled in for
# VM guest additions (to build kernel modules via DKMS)
# cleanup unwanted stuff
# video drivers (all but vesa)
apt-get purge -y --force-yes $(apt-cache search --names-only --installed xserver-xorg-video | grep xserver-xorg-video | cut -d ' ' -f 1,1) xserver-xorg-video-vesa+
-apt-get purge -y brasero
+apt-get purge -y brasero freepats
+
+# Seems to be not used by any installed piece
+apt-get purge -y libwebkitgtk-1.0-0
# and whatever is obsolete
apt-get autoremove --purge -y
# log files
find vbmnt/var/log -type f -delete
# apt lists
-find vbmnt/var/lib/apt -type f -name '*debian*' -o -type f -name '*list*' -delete
+find vbmnt/var/lib/apt -type f -name '*debian*' -o -type f -name '*list*' | xargs -r rm
# user data
# cannot clean all root stuff, because it also contains useful thing (e.g. git setup)
rm -f vbmnt/root/.*history
build_dir=$PWD/build
dist_dir=$PWD/dist
vendor="NeuroDebian"
-vm_version="6.999.b4.20121206"
+vm_version="6.999.b4.20121231"
vm_ostype=Debian
vendor_url="http://neuro.debian.net"
product_url="${vendor_url}/vm.html"