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

Tim.Bird at sony.com Tim.Bird at sony.com
Mon Mar 19 20:10:56 UTC 2018


Guilherme,

Thank you very much for your research into this bug, and for the proposed
fix.  As stated in my other e-mail, I think I'd like to remove the default
installation of ARM toolchains from the initial container build.

Could you possibly put these lines into:
fuego-ro/toolchains/install_cross_toolchain.sh
to replace the ones there that install emdebian toolchains?

Sorry, NAK on this particular patch, but I like switching to the toolchain
packages from unstable (at least in the short run).

Thanks,
 -- Tim


> -----Original Message-----
> From: Guilherme Campos Camargo
> 
> 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.
> 
> As pointed out in the mailing list, this may not be the best approach,
> given that some dependencies, that might be common with other packages',
> have been upgraded to their unstable version.
> 
> 
> Signed-off-by: Guilherme Campos Camargo <guicc at profusion.mobi>
> ---
>  Dockerfile | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/Dockerfile b/Dockerfile
> index f918ff7..213c046 100644
> --- a/Dockerfile
> +++ b/Dockerfile
> @@ -125,11 +125,16 @@ RUN ln -s /fuego-ro/scripts/fuego-lava-target-
> teardown /usr/local/bin
>  #RUN echo "fuego-create-node --board raspberrypi3" >> /root/firststart.sh
>  #RUN echo "fuego-create-jobs --board raspberrypi3 --testplan
> testplan_docker --distrib nosyslogd.dist" >> /root/firststart.sh
> 
> -RUN echo "deb http://emdebian.org/tools/debian/ jessie main" >
> /etc/apt/sources.list.d/crosstools.list
> -RUN dpkg --add-architecture armhf
> -RUN curl http://emdebian.org/tools/debian/emdebian-toolchain-
> archive.key | sudo apt-key add -
> -RUN DEBIAN_FRONTEND=noninteractive apt-get update
> -RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-
> essential-armhf cpp-arm-linux-gnueabihf gcc-arm-linux-gnueabihf binutils-
> arm-linux-gnueabihf
> +RUN echo deb http://deb.debian.org/debian unstable main > \
> +        /etc/apt/sources.list.d/crosstools.list && \
> +    dpkg --add-architecture armhf && \
> +    DEBIAN_FRONTEND=noninteractive apt-get update && \
> +    DEBIAN_FRONTEND=noninteractive apt-get -yV install \
> +        binutils-arm-linux-gnueabihf \
> +        cpp-arm-linux-gnueabihf \
> +        crossbuild-essential-armhf \
> +        gcc-arm-linux-gnueabihf && \
> +    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