Bug 10939

Summary: devtool: upgrade: handle toplevel directory (S) changing in upstream tarball
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Saul Wold <sgw>
Component: Scripts and ToolsAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ross.burton
Version: 2.2   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Saul Wold 2017-01-17 19:32:15 UTC
While using devtool to do a recipe upgrade from 1.5 -> 2.1.1, I got a failure after I attempted a finish (moving the workspace/recipe -> meta-intel/microcode).

It seems that the upstream changed their top-level from iucode_tools -> iucode-tools.

Devtool seems to unpack it into the workspace/sources/iucode_tools, but since that's "external source" it does not notice the top-level dir change.