]> 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>
Sun, 28 Jun 2015 08:42:02 +0000 (09:42 +0100)
commit46e9e59510e19a3ab22bdeb09f3de7bac1030f38
treeb1458997dd628a98a2d6fbe0321aac0af791c161
parent3e5ecb970eec3ba3199d2fc2a336d310f072594c
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]

(From OE-Core rev: a0460ac8a2595d4b064b483ca1f282a255ae6411)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distutils.bbclass