From d89999ba6830c5efb7d66b0f0bec6dc9dc4cde7b Mon Sep 17 00:00:00 2001
From: Jason Lefley <jlefley@gmail.com>
Date: Tue, 13 Jan 2015 14:39:38 -0800
Subject: [PATCH] specify target when installing backports packages

---
 scripts/chroot.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/chroot.sh b/scripts/chroot.sh
index 464c1f49e..73476a56d 100755
--- a/scripts/chroot.sh
+++ b/scripts/chroot.sh
@@ -455,7 +455,7 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
 		if [ "x${chroot_enable_debian_backports}" = "xenable" ] ; then
 			if [ ! "x${chroot_debian_backports_pkg_list}" = "x" ] ; then
 				echo "Log: (chroot) Installing (from backports): ${chroot_debian_backports_pkg_list}"
-				sudo apt-get -y --force-yes install ${chroot_debian_backports_pkg_list}
+				sudo apt-get -y --force-yes -t ${deb_codename}-backports install ${chroot_debian_backports_pkg_list}
 			fi
 		fi
 
-- 
GitLab