Bug 9426

Summary: eSDK: populate_sdk_ext copies git metadata
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stephano Cetola <stephano>
Component: devtools / tool chainAssignee: Stephano Cetola <stephano>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stephano Cetola 2016-04-08 16:50:16 UTC
While copying the build system, do_populate_sdk walks each layer and copies files over to the SDK. This brings all the ".git" folders with it. When you run oe-publish-sdk, you create a git repo at the base of those layers. Cloning that repo (when running devtool sdk-update for example) will fail to clone those layers with git repos in them.

We should probably do something like:

1. Not copy git metadata when creating our SDK.

2. Remove those files when we run oe-publish-sdk.
Comment 1 Ross Burton 2016-04-14 14:41:01 UTC
Fixed in oe-core 6a5e2b2196e5654fc54ba5b2e51a390c966fd1b7.