[Fuego] [PATCH] Install crosstoolchains from debian unstable instead of emdebian

Tim.Bird at sony.com Tim.Bird at sony.com
Tue Mar 20 20:44:31 UTC 2018


Applied and pushed.

I'm still testing.  Bonnie had problems compiling with the new compiler.
I haven't checked what the compiler version is.  Going all the way from
Jessie to Sid might be too big of a jump.

Is it possible to use this same approach, but just use Stretch's repository?

Thanks!
 -- Tim

> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Guilherme Campos
> Camargo
> Sent: Monday, March 19, 2018 3:48 PM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH] Install crosstoolchains from debian unstable
> instead of emdebian
> 
> 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 <guicc at profusion.mobi>
> ---
>  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
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list