Skip to content
Snippets Groups Projects
Commit d8e3c5c9 authored by Michele Tartara's avatar Michele Tartara
Browse files

Add backports to the chroot builder sources


This allows to have newer software than what is available in Debian Squeeze
(the default version of the distribution used by the script), particularly
vim and git.

Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent b0b7bf8f
No related branches found
No related tags found
No related merge requests found
......@@ -62,13 +62,23 @@ debootstrap --arch $ARCH $DIST_RELEASE $CHDIR
APT_INSTALL="apt-get install -y --no-install-recommends"
echo "deb http://backports.debian.org/debian-backports" \
"$DIST_RELEASE-backports main contrib non-free" \
> $CHDIR/etc/apt/sources.list.d/backports.list
#Install all the packages
in_chroot -- \
apt-get update
#Install selected packages from backports
in_chroot -- \
apt-get -y --no-install-recommends -t squeeze-backports install \
git \
vim
in_chroot -- \
$APT_INSTALL python-setuptools build-essential python-dev sudo automake git \
fakeroot vim rsync locales
$APT_INSTALL python-setuptools build-essential python-dev sudo automake \
fakeroot rsync locales
echo "en_US.UTF-8 UTF-8" >> $CHDIR/etc/locale.gen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment