[eclipse-yocto] [neon][PATCH] setup.sh: use Yocto Project full eclipse mirror

Tim Orling timothy.t.orling at linux.intel.com
Sun Dec 9 10:34:34 PST 2018


This has also been back ported to neon/thud, neon/sumo and neon/rocko.

> On Dec 6, 2018, at 8:17 AM, Tim Orling <timothy.t.orling at linux.intel.com> wrote:
> 
> We now have a full mirror of Eclipse, so there is no
> longer any reason to go to upstream for UPDATE_SITE.
> 
> For the other fetches that we were doing from the old,
> manually updated eclipse mirror, change to use the
> full mirror.
> 
> Should help with [YOCTO #13050], but not a necessarily the
> complete fix.
> 
> Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
> ---
> scripts/setup.sh | 17 +++++++++++------
> 1 file changed, 11 insertions(+), 6 deletions(-)
> 
> diff --git a/scripts/setup.sh b/scripts/setup.sh
> index 4f7dc2b..aaa3782 100755
> --- a/scripts/setup.sh
> +++ b/scripts/setup.sh
> @@ -250,14 +250,19 @@ then
>         TM_SITE="http://download.eclipse.org/tm/updates/4.0/GA"
>         TM_TERMINAL_SITE="http://download.eclipse.org/tm/terminal/marketplace"
> else
> -        MAIN_SITE="http://downloads.yoctoproject.org/eclipse/neon/"
> -        DEPRECATED_SITE="http://downloads.yoctoproject.org/eclipse/mars"
> -        TM_SITE="http://downloads.yoctoproject.org/eclipse/tm/updates/4.0/"
> -        TM_TERMINAL_SITE="http://downloads.yoctoproject.org/eclipse/tm/terminal/marketplace"
> +        MAIN_SITE="http://downloads.yoctoproject.org/eclipse-full/releases/neon/"
> +        DEPRECATED_SITE="http://downloads.yoctoproject.org/eclipse-full/releases/mars/"
> +        TM_SITE="http://downloads.yoctoproject.org/eclipse-full/tm/updates/4.0/"
> +        TM_TERMINAL_SITE="http://downloads.yoctoproject.org/eclipse-full/tm/terminal/marketplace/"
> fi
> 
> -#Update Site - always use updates from upstream
> -UPDATE_SITE="http://download.eclipse.org/eclipse/updates/4.6"
> +#Update Site - We have a full mirror of eclipse now, so default to that
> +if [[ "$1" = "--upstream" ]]
> +then
> +        UPDATE_SITE="http://download.eclipse.org/eclipse/updates/4.6"
> +else
> +        UPDATE_SITE="http://downloads.yoctoproject.org/eclipse-full/eclipse/updates/4.6/"
> +fi
> 
> #CDT related
> echo -e "\nPlease wait. Installing CDT.SDK.FEATURE.GROUP"
> -- 
> 2.19.2
> 



More information about the eclipse-yocto mailing list