| Summary: | SCM Mirror : Use Git mirror for fetching the Sources | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Ravi Vikkram <Vikkram.Ravi> |
| Component: | bitbake | Assignee: | Ravi Vikkram <Vikkram.Ravi> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie |
| Version: | 3.1.15 | ||
| Target Milestone: | 3.1.18 | ||
| Hardware: | x86 | ||
| OS: | arm | ||
| Whiteboard: | NIR 07/15 | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Ravi Vikkram
2022-06-20 09:30:13 UTC
Can you give a little more information about why/how that failed? In theory you should be able to setup a PREMIRROR entry as you describe. It would look for mirror tarballs but should also try the full url replacement as you want. I assume you're using an older release and hence the "_append" syntax rather than ":append"? That syntax wouldn't work with 4.0. We do various manipulations such as adding a ;protocol=https fallback for ;protocol=git: https://git.yoctoproject.org/poky/tree/meta/classes/mirrors.bbclass#n76 so your case should be simpler and also work. As per Richard's comments, need info state. I have updated the version of the Poky Distro version to 3.1.15 I have added to the required information Thanks for the additional information, it helps a lot to know this is dunfell. Even in dunfell, the MIRRORS entries I mentioned are present though: https://git.yoctoproject.org/poky/tree/meta/classes/mirrors.bbclass?h=dunfell#n73 so in theory mapping two urls like that should work. We need to establish what exactly isn't working. Do you have a fetch log and PREMIRRORS entry which shows what is being attempted/not attempted you could share please? In your example I notice that the domains, user, path and ports are different so it could be able one of these that is the trigger for an issue. Ravi, see Richards comment and please reply. The above solutions worked for me with the example shown in the bbclass. Thank you The solution does work on the version. Thanks . Hence I mark it as not a Bug |