| Summary: | having a poky git checkout that mixes http and git: urls for remotes fails to build if it is a local project | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | brian avery <brian.avery> |
| Component: | toaster | Assignee: | Ed Bartosh <eduard.bartosh> |
| Status: | RESOLVED FIXED | QA Contact: | Libertad <libertad.gonzalez.de.la.cruz> |
| Severity: | normal | ||
| Priority: | Medium | CC: | belen.barros.pena, jessica.zhang, michael.g.wood, stanciux.mihail |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
brian avery
2016-08-18 18:18:27 UTC
This way works fine for local projects: git remote -v contrib git://git.yoctoproject.org/poky-contrib (fetch) contrib git://git.yoctoproject.org/poky-contrib (push) origin git://git.yoctoproject.org/poky (fetch) origin git://git.yoctoproject.org/poky (push) The difference is whether the origin is http or git: This is because the local project is configured with the layers still as git repositories.
<object model="orm.layer" pk="1">
<field type="CharField" name="name">openembedded-core</field>
<field type="CharField" name="layer_index_url"></field>
<field type="CharField" name="vcs_url">git://git.yoctoproject.org/poky</field>
</object>
<object model="orm.layer_version" pk="1">
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">2</field>
<field type="CharField" name="branch">HEAD</field>
<field type="CharField" name="commit">HEAD</field>
<field type="CharField" name="dirpath">meta</field>
</object>
Maybe they should be local layers instead now. I guess this is where we find out why there were those mysterious magic strings in the previous config mechanism! (http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/toasterconf.json#n21).
the fix has been merged into poky master |