]> 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, 29 May 2014 12:42:06 +0000 (13:42 +0100)
commit0903469ffd41c8e6a5ed8ba09817c004a16a477e
tree0d06bf1098b929a2ed6d614277eb6c25826f3c6d
parent33890920730802c29deda1506018cb837a16d6e5
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.

(From OE-Core rev: 2d01c5a4989dcf03a202c27730a2a8f334e0c37a)

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