]> code.ossystems Code Review - openembedded-core.git/commit
distutils: regenerate pyc files after being modified by sed
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Thu, 11 Jun 2015 15:38:54 +0000 (15:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 10:38:10 +0000 (11:38 +0100)
commita0460ac8a2595d4b064b483ca1f282a255ae6411
tree6d532e75e32aad9e023120147c4deb4bf2ee92cd
parentdfae10889ab0fce2bae94294a78f4ea0aaf1b81e
distutils: regenerate pyc files after being modified by sed

py files are edited by sed and therefore *.pyc files are recreated on first boot, but if you have a read-only filesystem this is not possible. This patch creates pyc files directly after the py files are modified.

[YOCTO #7722]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Thomas Roos <roosesweb@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/distutils.bbclass