Bug 13029 - devtool doesn't preserve package classes (e.g. "nativesdk-") in recipe file name during upgrade
Summary: devtool doesn't preserve package classes (e.g. "nativesdk-") in recipe file n...
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-11-19 22:34 UTC by Joshua Watt
Modified: 2026-10-29 15:08 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.