diff options
author | Daniel Francis <francis@sugarlabs.org> | 2013-01-24 14:27:22 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2013-01-24 14:27:22 (GMT) |
commit | 607657f16231f8a22a51568fec4ba1a226c9c8d2 (patch) | |
tree | ce894c0f81b4a2c0361b2b5b61f906350ae2bd01 /env.sh | |
parent | ccb0077b2f5e6aa6becfa58c67c2eb5821fe03e2 (diff) |
Install base system
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Diffstat (limited to 'env.sh')
-rwxr-xr-x | env.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -35,10 +35,22 @@ clean_install () { echo "[OK]" } +configure_apt () { + echo "Configuring APT" + cp sources.list install/etc/apt/sources.list + chroot install apt-get update + echo "APT Configured" +} + # Installation function installenv () { check_root clean_install + + echo "Installing base system" + debootstrap --variant=buildd quantal ./install http://archive.ubuntu.com/ubuntu/ + + configure_apt exit } |