~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to buildjail.sh

  • Committer: dcoles
  • Date: 2008-07-02 04:11:34 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:799
Setup: Added 3rd party (wgrant) packages for NLTK and matplotlib without TeX 
dependency. Also fixed typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
SYSTEMPACKAGES="python-cjson python-svn"
36
36
STUDENTPACKAGES="python-numpy python-matplotlib python-scipy \
37
37
    python-beautifulsoup python-lxml python-imaging \
38
 
    python-simpletal" #nltk, elementtree-1.3beta (needs tidy)
 
38
    python-simpletal python-nltk" # elementtree-1.3beta (needs tidy)
39
39
 
40
40
# FIXME: [nasty-hack] Override the default mirror to the local AARNET one.  
41
41
# This should really be a local configuration option, but unfortunately 
42
42
# setup.py is a bit of a mess and needs a clean up to support this. For the 
43
43
# mean time we'll override it here.
44
 
MIRROR=http://mirror.aarnet.edu.au/pub/ubuntu/achive/
 
44
MIRROR=http://mirror.aarnet.edu.au/pub/ubuntu/archive/
45
45
# [/nasty-hack]
46
46
 
47
47
if [ "x$MIRROR" = "x" ]; then
58
58
echo "Updating package sources..."
59
59
sudo tee $JAIL/etc/apt/sources.list > /dev/null <<SOURCES
60
60
# APT Mirrors
 
61
deb http://apt.qeuni.net/ivle $RELEASE nltk matplotlib
61
62
deb $MIRROR $RELEASE main $SECTIONS
62
63
deb $MIRROR $RELEASE-security $SECTIONS
63
64
deb $MIRROR $RELEASE-updates $SECTIONS"
65
66
 
66
67
echo "Adding packages..."
67
68
sudo chroot $JAIL /bin/sh -c "apt-get -y update"
68
 
sudo chroot $JAIL /bin/sh -c "apt-get -y install $SYSTEMPACKAGES \
69
 
    $STUDENTPACKAGES"
 
69
sudo chroot $JAIL /bin/sh -c "apt-get -y --allow-unauthenticated install \
 
70
    $SYSTEMPACKAGES $STUDENTPACKAGES"
70
71
sudo chroot $JAIL /bin/sh -c "apt-get -y upgrade"
71
72
sudo chroot $JAIL /bin/sh -c "apt-get -y clean"
72
73