Bug 15236

Summary: Dependent layers not always checked out at correct branch during update
Product: [Yocto Project Subprojects] Layer Index Reporter: Tim Orling <tim.orling>
Component: Layer IndexAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact: apoorv sangal <apoorvsangal>
Severity: normal    
Priority: Medium+    
Version: 4.3.4   
Target Milestone: 5.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Tim Orling 2023-10-12 23:31:50 UTC
In https://layers.openembedded.org/layerindex/layerupdate/9453785/ we see
"bb.parse.ParseError: ParseError at /opt/workdir/git___git_yoctoproject_org_meta-arm/meta-arm/conf/layer.conf:21: unparsed line: 'addpylib ${LAYERDIR}/lib oeqa'
"

In a shell session on the server, /opt/workdir/git___git_yoctoproject_org_meta-arm is checked out as "mickledore"!

After manually (in the same shell session) checking out "kirkstone" branch of meta-arm and manually triggering an update for meta-ti-bsp, the update correctly succeeds.

https://layers.openembedded.org/layerindex/layerupdate/9453786/
Comment 2 Tim Orling 2023-11-17 00:45:27 UTC
https://git.yoctoproject.org/layerindex-web/commit/?id=94d8f3f20e90dcd6c5773a7c9b1434a14dc3c52a

"Clean" update without the errors previously symptomatic of this issue:
https://layers.openembedded.org/layerindex/updates/38473/