Bug 14461

Summary: devtool sdk-update do not clean old version files
Product: [Yocto Project Subprojects] eSDK Reporter: Andrej Valek <andrej.v>
Component: eSDKAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: major    
Priority: Medium+ CC: randy.macleod, sgw, tgamblin
Version: unspecified   
Target Milestone: 5.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 Andrej Valek 2021-06-30 10:32:05 UTC
devtool sdk-update should is not removing files from old version. The sdk-update is not usable when recipe version was changed. It kept the files from previous version and add new one, but the previous files are being used instead.

This is the way, how the recipe structure looks like.
>ccp-init/
>├── files
>│   ├── inittab
>│   └── machine-a
>│       └── inittab
>└── ccp-init_1.0.0.bb

Next version will remove the machine specific file version:
>ccp-init/
>├── files
>│   └── inittab
>└── ccp-init_1.0.0.bb

however eSDK update from old to new version will keep the machine specific file and leads to sstate hash mismatches and thus non-working eSDK.
Comment 1 Randy MacLeod 2023-07-26 21:22:06 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.
Comment 2 Trevor Gamblin 2023-09-14 16:44:24 UTC
Moved to M4.
Comment 3 Randy MacLeod 2023-10-30 15:29:13 UTC
Bulk move to 5.0 M1. -- Randy
Comment 4 Randy MacLeod 2023-12-21 23:28:23 UTC
Bulk move of 52 5.0-M1 bugs to M2.
Comment 5 Randy MacLeod 2024-01-25 14:28:48 UTC
Bulk move of bugs owned by "unassigned" from 5.0-M2 to 5.0-M3.
Comment 6 Randy MacLeod 2024-02-22 19:53:21 UTC
Bulk move of bugs from 5.0-M3 to 5.99.
The bugs in this list are all unassigned and are ones that I consider to be nice to do some time but not essential track from milestone to milestone in 5.0 or 5.1. We agreed on this bug handling approach in the YP bug review on Feb 22, 2024.

If you disagree, please move back to a 5.[012...]-M* milestone.
Comment 7 Randy MacLeod 2025-02-14 16:46:34 UTC
bulk change to add Saul's non-WR address.
Comment 8 Randy MacLeod 2025-02-14 16:48:26 UTC
Bulk change: Remove Saul's old WR address.