Skip to contentSkip to conversation

#yocto #kernel setting up PREMIRRORS under zeus

DISCUSSION Monsees, Steven C (US) 3 participants 3 messages Jan 24, 2021

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Steven C (US) via lists.yoctoproject.org

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

#2 lore raw

Hi,

Please see my comments in-line.

Quoted 7 lines · Robert P. J. Day
Quoted 5 lines · Steven C (US) via lists.yoctoproject.org

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

Quoted 6 lines
Quoted 2 lines

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

Quoted 5 lines