Bug 7722

Summary: distutils.bbclass: regenerate pyc files when py files changed by sed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Thomas Roos <roosesweb>
Component: configurationAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alejandro.hernandez, jose.a.lamego, sgw
Version: 1.5.5   
Target Milestone: 1.9 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
patch none

Description Thomas Roos 2015-05-06 09:56:43 UTC
Created attachment 2491 [details]
patch

py files are edited by sed and therefore *.pyc recreated on first boot, but if you have an ro system this is not possible. This patch creates pyc files directly after the py files are changed.
Comment 1 Saul Wold 2015-05-07 15:04:32 UTC
Please verify the patch and formatting