[meta-freescale] [PATCH 2/8] layer.conf: add QorIQ source mirror

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Aug 11 11:29:05 PDT 2015


On Tue, Aug 11, 2015 at 3:18 PM, Daiane Angolini <daiane.list at gmail.com> wrote:
> On Tue, Aug 11, 2015 at 5:48 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
...
>> -FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/"
>> +IMX_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/"
>> +QORIQ_MIRROR ?= "http://git.freescale.com/source/"
>
> Is that really important to have 2 different MIRROR's? I can only
> think about fetch performance, but I'm only wondering here.

Ideally a single URL for all the source code would be used however
this is not what is in place currently so the i.MX and QorIQ packages
are in different URLs.

>> +
>> +# FIXME: set this to avoid changing all the recipes that use it
>> +FSL_MIRROR ?= "${IMX_MIRROR}"
>
> If this is needed, why there is a FIXME tag? I understand why not
> removing FSL_MIRROR, but I don't understand the overall picture

This can be removed using a subsequent patch to rework the SRC_URI
which use FSL_MIRROR for IMX_MIRROR.

>>  MIRRORS += " \
>> -${FSL_MIRROR}  http://download.ossystems.com.br/bsp/freescale/source/ \n \
>> +${IMX_MIRROR}   http://download.ossystems.com.br/bsp/freescale/source/ \n \
>> +${QORIQ_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \
>>  "
>
> Please, don't add ossystem's mirror again.

This is need. We will host the packages for QorIQ as well so both need
to fetch from same. In fact two URL goes to the very same mirror.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list