#yocto #kernel setting up PREMIRRORS under zeus #yocto #kernel


Monsees, Steven C (US)
 

 

I am trying to setup PREMIRRORS to setup and point to the directory containing all the tar-balls for my build…

I was under the impression that the “SOURCE_MIRROR_URL” is a quick way to add a series of PREMIRROR entries for all supported protocols.

 

I added the following to my local.conf:

 

INHERIT += "own-mirrors"

SOURCE_MIRROR_URL = “file:///ede/tms/yocto/zeus/downloads/PATH

 

But this does not appear to retrieve the tar-balls from from my local repository…

 

What is the proper syntax required to setup PREMIRRORS to point to and use my local repo ?

 

Thanks,

Steve


Robert P. J. Day
 

On Sun, 24 Jan 2021, Monsees, Steven C (US) via lists.yoctoproject.org wrote:

I added the following to my local.conf:

INHERIT += "own-mirrors"

SOURCE_MIRROR_URL = “file:///ede/tms/yocto/zeus/downloads/PATH”

But this does not appear to retrieve the tar-balls from from my local repository…
not sure why that wouldn't work, it's what i've used for years.

rday


Robert Berger
 

Hi,

Please see my comments in-line.

On 24/01/2021 22:09, Robert P. J. Day wrote:
On Sun, 24 Jan 2021, Monsees, Steven C (US) via lists.yoctoproject.org wrote:

I added the following to my local.conf:

INHERIT += "own-mirrors"

SOURCE_MIRROR_URL = “file:///ede/tms/yocto/zeus/downloads/PATH”
I assume your sources are in /ede/tms/yocto/zeus/downloads/

Can you please try without the PATH at the end?

The manual does not mention anything like PATH at the end[1]

I do expose my per site premirror via a web server to all the machines like this:

SOURCE_MIRROR_URL = "http://mirror/source_mirror_gatesgarth"

[1] https://docs.yoctoproject.org/singleindex.html#term-SOURCE_MIRROR_URL


But this does not appear to retrieve the tar-balls from from my local repository…
not sure why that wouldn't work, it's what i've used for years.
rday
Regards,

Robert