From 607657f16231f8a22a51568fec4ba1a226c9c8d2 Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Thu, 24 Jan 2013 14:27:22 +0000 Subject: Install base system Signed-off-by: Daniel Francis --- diff --git a/env.sh b/env.sh index 0c5b4ea..ef92e73 100755 --- a/env.sh +++ b/env.sh @@ -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 } diff --git a/sources.list b/sources.list new file mode 100644 index 0000000..bfb9c5f --- /dev/null +++ b/sources.list @@ -0,0 +1,10 @@ +deb http://archive.ubuntu.com/ubuntu/ quantal main universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ quantal main universe multiverse + +deb http://archive.ubuntu.com/ubuntu/ quantal-updates main universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ quantal-updates main universe multiverse + +deb http://archive.ubuntu.com/ubuntu/ quantal-backports main universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ quantal-backports main universe multiverse + +deb http://security.ubuntu.com/ubuntu quantal-security main universe multiverse -- cgit v0.9.1