Bug 10796

Summary: devtool: sdk-update fails as git detects changes in layers/poky/bitbake/lib/bb/pysh/pyshtables.py
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Henry Bruce <henry.bruce>
Component: devtools / tool chainAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 2.2   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on:    
Bug Blocks: 10653    

Description Henry Bruce 2016-12-12 22:56:37 UTC
After creating an updateable core-image-base minimal Extensible SDK for a qemux86 target, "devtool sdk-update" fails as follows:

$ source environment-setup-i586-poky-linux 
SDK environment now set up; additionally you may now run devtool to
perform development tasks.
Run devtool --help for further details.
$ devtool sdk-update
ERROR: Failed to update metadata as there have been changes made to it.
Aborting.
ERROR: Changed files: 
b' M poky/bitbake/lib/bb/pysh/pyshtables.py\n'
Comment 1 Henry Bruce 2016-12-12 23:26:24 UTC
As a temporary workaround, eSDK user should create a global .gitignore and add 
pyshtables.py to it.