]> code.ossystems Code Review - openembedded-core.git/commit
distutils.bbclass: only modify *.py file if it contains path to be removed
authorRadek Dostal <radek.dostal@streamunlimited.com>
Mon, 5 May 2014 07:38:22 +0000 (09:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 May 2014 11:56:40 +0000 (12:56 +0100)
commit2d01c5a4989dcf03a202c27730a2a8f334e0c37a
tree38b7689e69fb3b5371f54d15bda4ce3ff7e1f0b0
parent337798fa5c0a1d1e745a143f6a9f398b07f0628f
distutils.bbclass: only modify *.py file if it contains path to be removed

Currently sed command touches every single *.py file. This modifies the
timestamp of the file. All *.pyo files will be recompiled during the first
boot, because timestamp will not match. This should be only necessary if
sed command changes the file.

Signed-off-by: Radek Dostal <radek.dostal@streamunlimited.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/distutils.bbclass