| Summary: | gitsm fetcher and PREMIRROR does not use git to clone repositories | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Konrad Scherer <konrad.scherer> |
| Component: | bitbake | Assignee: | Pavel Zhukov <pavel> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | liezhi.yang, poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie |
| Version: | 3.1 | ||
| Target Milestone: | 4.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Konrad Scherer
2019-12-02 16:58:15 UTC
Mark, Do you think you'll work on this in the next few weeks? It looks like a feature rather than a bug. BB_FETCH_PREMIRRORONLY functionality is kind of broken in the current bitbake (see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13353 https://bugzilla.yoctoproject.org/show_bug.cgi?id=9061 https://bugzilla.yoctoproject.org/show_bug.cgi?id=13233). Trying to run git clone (and ls-remote) from upstream if premirror has been specified is a actual bug while erroring out if BB_FETCH_PREMIRRORONLY has been specified but mirror doesn't contain revision is a proper behaviour to not break reproducible builds. Fixes for mentioned bugs are merged and behaviour should be consistent now. If BB_FETCH_PREMIRRORONLY = '1' has been specified and revision not in the PREMIRROR the build will fail (with NetworkAccess error). Fetchers will not try upstream for git fetcher anymore. https://git.openembedded.org/bitbake/commit/?id=b47ecab3e3aad5c5c376ec023aa82a51aa0f3b86 |