Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=uuH7/RdpsVuXRjNKQr+Tz2QDuuTa+3wiMVrA1NnyWNI=; b=VqfBU51DH9RUtYGHVZk8zLOly9+QywQik+/BuOFKSe9dSj0w0BE/I6BU+eFYm67WoJ 02b0tNSEw+NexKb3J/r2qvvFvtMxxBpCEpaq2YPLRGwJG3C3Wh/Klc7bUCv+pipDHpmH uDfmOYs/0TEXICZ+T2L4104RqWSPWbwTZOfNosDkEaWsg+hy+Rt7PGgn31lFpMg5JXSj p5ua2oY9XZ4Ac0XJukmGCp0UpYzwx2OdndrwYfAOWP4rq9rULv7TcsATdcx9rn2agzxT 4CwNgrqWSF/E4I//vNh6pS8IocMIV7gdL39MrPNrl7pLb/eEqasXGpxq797qdkhCYdHh Zp4Q== From: Guilherme Campos Camargo Date: Mon, 19 Mar 2018 19:48:25 -0300 Message-Id: <20180319224825.8013-1-guicc@profusion.mobi> Subject: [Fuego] [PATCH] Install crosstoolchains from debian unstable instead of emdebian List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org Emdebian has reportedly ceased to publish updates to its packages since the beginning of 2015 causing some of them to be outdated and to conflict with other packages in Debian Jessie. The arm crosstoolchains that we were fetching from emdebian are currently conflicting with the newest packages from debian/security, what prevents the build to succeed. On this patch, we remove emdebian sources and add debian unstable to apt sources in order to install those packages from debian official repositories. Signed-off-by: Guilherme Campos Camargo --- fuego-ro/toolchains/install_cross_toolchain.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fuego-ro/toolchains/install_cross_toolchain.sh b/fuego-ro/toolchains/install_cross_toolchain.sh index 86d3973..4d43605 100755 --- a/fuego-ro/toolchains/install_cross_toolchain.sh +++ b/fuego-ro/toolchains/install_cross_toolchain.sh @@ -25,11 +25,10 @@ if [ -d /tmp/toolchain_install ] ; then fi mkdir -p /tmp/toolchain_install -echo deb http://emdebian.org/tools/debian/ jessie main > /etc/apt/sources.list.d/crosstools.list -dpkg --add-architecture $ARCH -curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add - +echo deb http://deb.debian.org/debian unstable main > /etc/apt/sources.list.d/crosstools.list +dpkg --add-architecture "${ARCH}" DEBIAN_FRONTEND=noninteractive apt-get update -DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-$ARCH +DEBIAN_FRONTEND=noninteractive apt-get -yV install "crossbuild-essential-${ARCH}" # libaio is needed for LTP DEBIAN_FRONTEND=noninteractive apt-get -yV install libaio1:$ARCH @@ -52,3 +51,4 @@ cp -vd usr/lib/${toolchain_dir}libaio.* /usr/lib/${toolchain_dir} # clean up cd $SAVEDIR rm -rf /tmp/toolchain_install +rm -f /etc/apt/sources.list.d/crosstools.list -- 2.16.2