]> git.donarmstrong.com Git - neurodebian.git/commitdiff
prepare VM images for VB 4.x series using squeeze-backports
authorYaroslav Halchenko <debian@onerussian.com>
Sun, 12 Jun 2011 02:51:40 +0000 (22:51 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Sun, 12 Jun 2011 02:51:40 +0000 (22:51 -0400)
vm/d-i/tools/initial_setup
vm/tools/nd_compactvdi
vm/tools/nd_createappliance

index c0466e4a577a54ba31bffd38f37f256901504816..e66cfd9769e839c4011e0e38cbb8c5ab20f1799b 100755 (executable)
@@ -68,7 +68,10 @@ apt-get update -y
 
 # to cheat the VM check
 touch /dev/vboxguest
-# to get all the stuff in recommends
+# Forcefully install guest additions from backports so we are
+# compatible with VirtualBox 4.x series
+apt-get install -y -t squeeze-backports virtualbox-ose-guest-dkms
+# to get all the rest stuff in recommends
 apt-get install -y dkms neurodebian-guest-additions
 
 apt-get install --no-install-recommends -y \
index 143db914fa2d45373ed4d0fc94f6718ef89abffb..3d1634d058c2d8a8fc596e0543f1b4753794ccb8 100755 (executable)
@@ -60,4 +60,5 @@ umount vbdev
 sudo -u "$SUDO_USER" VBoxManage modifyhd "$vdifile" --compact
 
 # cleanup
+echo "I: Cleaning up after VDI compact operation"
 rm -rf $wdir
index 2c794cb79afd0eaea2fa71c8c7f84c1003eb19d6..a0335bdbf42c8d37ad6fc3b302bdfdfbde8aa7e2 100755 (executable)
@@ -6,14 +6,14 @@ set -eu
 
 # TODO: arguments later on to become cmdline args
 #iso=debian-squeeze-di-beta1-amd64-businesscard.iso
-iso=debian-6.0.0-${ARCH:=amd64}-businesscard.iso
+iso=debian-6.0.1a-${ARCH:=amd64}-businesscard.iso
 di_cd=$(readlink -f $PWD/../../../neurodebian-images/$iso)
 di_host=hydra.dartmouth.edu               # where to look for di preseed
 
 build_dir=$PWD/build
 dist_dir=$PWD/dist
 vendor="NeuroDebian"
-vm_version="6.0.2"
+vm_version="6.0.3"
 vm_ostype=Debian
 vendor_url="http://neuro.debian.net"
 product_url="${vendor_url}/vm.html"