Bug 9426 - eSDK: populate_sdk_ext copies git metadata
Summary: eSDK: populate_sdk_ext copies git metadata
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.1 M4
Assignee: Stephano Cetola
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-08 16:50 UTC by Stephano Cetola
Modified: 2016-04-14 14:41 UTC (History)
3 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 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.