Bug 13029

Summary: devtool doesn't preserve package classes (e.g. "nativesdk-") in recipe file name during upgrade
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Watt <JPEWhacker>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, paul, randy.macleod, sgw
Version: 2.7   
Target Milestone: 6.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Watt 2018-11-19 22:34:51 UTC
When trying to use devtool to do automatic recipe upgrades for a recipe with "nativesdk-" in the actual recipe file name (e.g. nativesdk-mingw-w64-runtime from meta-mingw), I noticed that the output recipe that devtool writes doens't preserve the "nativesdk-" prefix in the recipe it generates. For example:

 /projects/poky/build $ devtool upgrade nativesdk-mingw-w64-runtime
 NOTE: Starting bitbake server...
 <SNIP>
 NOTE: Upgraded source extracted to /projects/poky/build/workspace/sources/nativesdk-mingw-w64-runtime
 NOTE: New recipe is /projects/poky/build/workspace/recipes/mingw-w64-runtime/mingw-w64-runtime_6.0.0.bb
 /projects/poky/build $

Note that the output file name "mingw-w64-runtime" doens't match the original recipe name "nativesdk-mingw-w64-runtime".

This also confuses devtool, since the recipe name doesn't match the expected name.
Comment 1 Randy MacLeod 2023-10-30 15:37:33 UTC
Build move to 5.0 -- ../Randy
Comment 2 Randy MacLeod 2024-04-25 01:13:57 UTC
Bulk move of 5.0 medium importance issues to 5.99.
Move to 5.1 if you want to actively work on an issue.
Comment 3 Randy MacLeod 2024-04-25 01:23:53 UTC
Build move to 5.1
Comment 4 Randy MacLeod 2025-02-14 16:46:35 UTC
bulk change to add Saul's non-WR address.
Comment 5 Randy MacLeod 2025-02-14 16:48:19 UTC
Bulk change: Remove Saul's old WR address.
Comment 6 Randy MacLeod 2025-05-01 14:07:08 UTC
Bulk move of all unassigned 5.2 medium importance bugs to 5.3.