From: Michael Hanke Date: Sun, 10 Oct 2010 00:56:12 +0000 (-0400) Subject: More work on the VM. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aab1e7f08c19f5eb514a8eb03aac90b745b584e8;p=neurodebian.git More work on the VM. --- diff --git a/debian/changelog b/debian/changelog index 5054332..ff699d6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -neurodebian (1.0) unstable; urgency=low +neurodebian (1.0) squeeze; urgency=low * Initial release. diff --git a/debian/control b/debian/control index db9519d..dc6434f 100644 --- a/debian/control +++ b/debian/control @@ -30,7 +30,7 @@ Description: NeuroDebian development tools Package: neurodebian-desktop Architecture: all -Depends: ${misc:Depends}, ssh-askpass-gnome | ssh-askpass +Depends: ${misc:Depends}, ssh-askpass-gnome | ssh-askpass, desktop-base, gnome-icon-themes Suggests: Description: neuroscience research environment Pacifier @@ -46,7 +46,7 @@ Description: neuroscience research environment Package: neurodebian-guest-additions Architecture: all -Depends: ${misc:Depends}, sudo, virtualbox-ose-guest-utils, virtualbox-ose-guest-x11, virtualbox-ose-guest-dkms, neurodebian-desktop +Depends: ${misc:Depends}, sudo, virtualbox-ose-guest-utils, virtualbox-ose-guest-x11, virtualbox-ose-guest-dkms, neurodebian-desktop, gdm Recommends: chromium-browser Suggests: Description: add-ons and configuration for the NeuroDebian virtual machine diff --git a/etc/gconf/20_neurodebian-panel-default-setup.entries b/etc/gconf/20_neurodebian-panel-default-setup.entries index 0548a70..b5b90f3 100644 --- a/etc/gconf/20_neurodebian-panel-default-setup.entries +++ b/etc/gconf/20_neurodebian-panel-default-setup.entries @@ -2007,9 +2007,6 @@ applet_0 - - applet_1 - diff --git a/tools/nd_compactvdi b/tools/nd_compactvdi index 5f2c544..0c0c8ab 100755 --- a/tools/nd_compactvdi +++ b/tools/nd_compactvdi @@ -40,7 +40,7 @@ find vbmnt/var/lib/apt -type f -name '*debian*' -o -type f -name '*list*' -delet # user data rm -f vbmnt/root/.*history # everything for the default user -find vbmnt/home/brain -mindepth 1 -delete +#find vbmnt/home/brain -mindepth 1 -delete # unmount filesystem umount vbmnt diff --git a/tools/nd_setupguestos b/tools/nd_setupguestos index 533feed..e2b5529 100644 --- a/tools/nd_setupguestos +++ b/tools/nd_setupguestos @@ -1,8 +1,14 @@ #!/bin/bash +# play safe +set -e +set -u + # Standard Debian install -# maybe have dedicated hard-drives for swap and home +# prepare on hydra and use debproxy for speed + +# have dedicated hard-drives for swap and home # hostname: neurodebian # domain: '' @@ -20,7 +26,9 @@ # All files in one partition/ # just base system, run selection, but no tasks (not even 'Standard system') -apt-get etckeeper +# set root password to 'neurodebian' too + +apt-get install etckeeper # setup etckeeper git config --global user.name NeuroDebian @@ -33,18 +41,18 @@ git config --global user.email nd@localhost wget -O /etc/apt/sources.list.d/neuro.debian.net.list http://neuro.debian.net/_static/neurodebian.squeeze.us.sources.list wget -O - http://neuro.debian.net/_static/neuro.debian.net.asc | apt-key add - -echo "deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" >> /etc/apt/sources.list.d/backports.debian.org.list -cat << EOT >> /etc/apt/preferences.d/backports.debian.org +echo "deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" > /etc/apt/sources.list.d/backports.debian.org.list +cat << EOT > /etc/apt/preferences.d/backports.debian.org.pref Package: * Pin: release a=squeeze-backports Pin-Priority: 200 EOT -apt-get install neurodebian-guest-additions - -apt-get install --no-install-recommends \ - desktop-base gdm gnome-core mc evince bash-completion ntpdate \ - file-roller gnome-keyring gksu gnome-utils gnome-themes eog +apt-get update +apt-get install --no-install-recommends neurodebian-guest-additions \ + gnome-core mc evince bash-completion ntpdate file-roller gnome-utils + gnome-themes eog vim + software-center gdebi update-notifier gedit-plugins gnome-media synaptic menu less # intermediate cleanup to prevent virtual harddrive from fragmenting too much find /var/cache/apt/archives/ -name '*.deb' -delete @@ -52,7 +60,6 @@ find /var/cache/apt/archives/ -name '*.deb' -delete # cleanup unwanted stuff # video drivers (all but vesa) apt-get purge $(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 gnome-media # and whatever is obsolete apt-get autoremove --purge @@ -64,3 +71,6 @@ apt-get autoremove --purge # next step purge network interface config to give the power to network manager # important #adduser brain netdev + +apt-get install flashplugin-nonfree sun-java6-plugin +