Bug 7722 - distutils.bbclass: regenerate pyc files when py files changed by sed
Summary: distutils.bbclass: regenerate pyc files when py files changed by sed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.5.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M1
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-06 09:56 UTC by Thomas Roos
Modified: 2015-06-23 15:52 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
patch (984 bytes, text/plain)
2015-05-06 09:56 UTC, Thomas Roos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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