diff --git a/devel/build_chroot b/devel/build_chroot index e4225cb3dbca2ef9def25ce051ea031fcd63ac56..5bcdce6be05ac7677b1fd080f0b8bfc66bfdbe9a 100755 --- a/devel/build_chroot +++ b/devel/build_chroot @@ -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