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.
Please verify the patch and formatting
Fixed here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4caed87a38e8c5afef679a90fb7f74f26ece2043