Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/usr-chroot.sh
blob: 13b187069e22e8b338401574c4f56f8ab2dd2b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
##
## usr-chroot.sh
## 
## Made by David Farning
## Login   <dfarning@acer>
## 
## Started on  Fri Jan  1 03:35:38 2010 David Farning
## Last update Sun Jan 31 14:43:53 2010 David Farning
##

cat << EOF > /etc/apt/sources.list 
deb http://10.0.0.2:3142/archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://10.0.0.2:3142/ppa.launchpad.net/sugarteam/ppa/ubuntu lucid main 
EOF

cat << EOF > /etc/apt/preferences
Explanation: prefer packages from sugarteam PPA
Package: *
Pin: release o=LP-PPA-sugarteam
Pin-Priority: 1001
EOF

cat << EOF > /etc/usplash.conf
xres=1024
yres=768
EOF

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 363C5DAC

apt-get update

apt-get install --force-yes --yes ubuntu-sugar-remix sugar-activities
apt-get install --yes casper lupin-casper
apt-get install --yes discover1  os-prober
apt-get install --force-yes -y  linux-image-generic
apt-get install  -y ubiquity ubiquity-casper ubiquity-frontend-gtk ubiquity-slideshow-ubuntu 

#grub-gfxboot

echo "here"
/bin/bash 

apt-get clean