| Summary: | Consistent naming scheme for deployed artifacts | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Martin Jansa <Martin.Jansa> |
| Component: | core | Assignee: | Unassigned <unassigned> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie |
| Version: | 2.7 | ||
| Target Milestone: | 6.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Martin Jansa
2018-09-27 09:08:01 UTC
Hi Martin, Any update on what we should do with this? Cheers, Richard The implementation is here: http://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/artifacts top 6 commits. It seems to work fine for our internal builds, but I still haven't tested it properly in various other scenarios to send it to ML for review. Also want to document more examples for people to better understand what will change and why this is useful. RFC with hopefully better description sent to oe-core ML: http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285822.html This isn't the final version, just after sending it I've noticed that the branch was missing one more fix, which is now in the jansa/artifacts branch, but I haven't sent v2 with it yet (waiting for some comments from others). Implementation sent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2019-August/286026.html 3.3 development is closed, move to 3.4 Some day... Another set of "preparation" changes sent to ML: https://lists.openembedded.org/g/openembedded-core/message/178432 Only 2 commits are left in: https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/artifacts 1st changes the naming scheme a bit (used to verify the selftest changes - runqemu script still need few fixes for this to pass completely). 2nd is the important one which switches the _NAME and _LINK_NAME, from symlinks to hardlinks and introduces deploy_links task. Both will be sent for Nanbield once it's open as they might need some adaptation from other layers which use own IMAGE_FSTYPEs etc. Bulk move from 4.99 or 0.00 to 5.99 Sent hopefully last batch of the changes for this: https://lists.openembedded.org/g/openembedded-core/message/191077 https://patchwork.yoctoproject.org/project/oe-core/list/?series=19541 The whole series was rejected in: https://lists.openembedded.org/g/openembedded-core/topic/102747718#191102 (some patches from it might be useful even without the switch to hardlinks). I can make it more configurable (to allow using symlinks instead of hardlinks) or to create versioned links in subdirectory with the same version, so it's easier to copy just one hardlink either with version or without in filename). But I don't want to spend even more time on this if there is no agreement to fix this (I though we had agreement to use hardlinks as it was mentioned in all previous patch series and in this ticket). We could review the work done and try to get agreement again. |