Re: autobuilder: How to set PREMIRRORS?
Flanagan, Elizabeth <elizabeth.flanagan@...>
2014-11-19 15:12 GMT+00:00 Bryan Evenson <bevenson@...>:
All,I would actually do this similar to how we have DEVKERNEL_MUT_REPO. PREMIRRORS = ['git://.*/.* http://our/local/mirror/path/mirror/sources/', 'ftp://.*/.* http://our/local/mirror/path /mirror/sources/', 'http://.*/.* http://our/local/mirror/path/mirror/sources/', 'https://.*/.* http://our/local/mirror/path/mirror/sources/'] I am trying to add a single PREMIRROR using the syntax I specified above. At this time it is getting inserted in auto.conf. However, the system is going into an infinite loop building the PREMIRROR path. The added content to auto.conf at this time looks like:#make sure you add # #export PREMIRRORS="" # to yocto-autobuilder-setup if os.environ.get('PREMIRRORS') is not None: premirrors=ast.liternal_eval(os.environ.get('PREMIRRORS').encode('utf-8') fout =+ 'PREMIRRORS = "\ \n' for mirror in premirrors:..... I think this should do what you're looking for. Thanks,-- Elizabeth Flanagan Yocto Project Build and Release |
|