]> git.donarmstrong.com Git - neurodebian.git/commitdiff
sensible (-dev files) and opportunitstic (gnome-core) lightweighting of VM image
authorYaroslav Halchenko <debian@onerussian.com>
Mon, 7 Feb 2011 23:46:24 +0000 (18:46 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Mon, 7 Feb 2011 23:46:24 +0000 (18:46 -0500)
live/auto/config
vm/d-i/tools/initial_setup

index 30bcc3be92963ebbbfc8fc43c758171243e75d7f..c804d4e400568394208b42a1add92264c019a62d 100755 (executable)
@@ -4,7 +4,7 @@ set -eu
 
 # the Debian release to use as a basis for the live-cd
 nd_basedist="squeeze"
-nd_version="6.0.0"
+nd_version="6.0.1"
 nd_arch=i386
 
 deb_mirror="http://debproxy:9999"
index 8261b317869c3ee31c20df861ddc332889648e74..31d0ccdd68be9de2057c25317f940460306bb7d7 100755 (executable)
@@ -76,6 +76,16 @@ apt-get install --no-install-recommends -y \
  gnome-themes eog vim \
  software-center gdebi gedit-plugins gnome-media synaptic menu less libxp6
 
+# Clean-up installed development files which got pulled in for some reason
+apt-get purge -y libc6-dev
+dpkg -l | grep '^ii.*linux-headers' | xargs -r apt-get purge -y
+
+# Gnome optional pulled by gnome-core:
+apt-get purge -y gnome-core evolution-common evolution libevolution
+
+# And utter cleanup
+apt-get autoremove
+
 # intermediate cleanup to prevent virtual harddrive from fragmenting too much
 find /var/cache/apt/archives/ -name '*.deb' -delete