mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
populate_sdk_ext: Avoid copying and producing .pyc files
Since pyc cache files are really system specific, no real reason to copy or generate them during the eSDK build process. Also generating them has the possibility of re-using inodes that pseudo may have been tracking, leading a build failure. (From OE-Core rev: ce8eba263647ae63a722122e28f26af46ae083a0) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f4b82998b9
commit
63831568bd
@@ -251,7 +251,9 @@ python copy_buildsystem () {
|
||||
|
||||
# Create a layer for new recipes / appends
|
||||
bbpath = d.getVar('BBPATH')
|
||||
bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')])
|
||||
env = os.environ.copy()
|
||||
env['PYTHONDONTWRITEBYTECODE'] = '1'
|
||||
bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')], env=env)
|
||||
|
||||
# Create bblayers.conf
|
||||
bb.utils.mkdirhier(baseoutpath + '/conf')
|
||||
|
||||
Reference in New Issue
Block a user