Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between PREMIRRORS and SOURCE_MIRROR_URL

Tags:

yocto

Yocto defines two variables: PREMIRRORS and SOURCE_MIRROR_URL for source mirroring.

What is the difference between both variables?

like image 462
Bechir Avatar asked Sep 07 '25 13:09

Bechir


1 Answers

SOURCE_MIRROR_URL is used in own-mirrors.bbclass to populate PREMIRRORS. Thus, using SOURCE_MIRROR_URL and inherit += own-mirrors is just a shorthand to populate PREMIRRORS for all different fetchers (protocols).

See SOURCE_MIRROR_URL in the Yocto Project Reference Manual

like image 113
Anders Avatar answered Sep 10 '25 06:09

Anders