]> code.ossystems Code Review - openembedded-core.git/commit
scripts/wic: Be consistent about how we call bitbake
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Feb 2019 12:24:49 +0000 (12:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Feb 2019 17:47:03 +0000 (17:47 +0000)
commit0507ec4c6069490c9a503e9e2b65f0e7b1962d34
tree635379b1198499dbcf41004e4b39b9d0cbc51c68
parent5e66a6b4540e5e29f401f7490e9b3b2029ea94a5
scripts/wic: Be consistent about how we call bitbake

Whilst its tempting to call bitbake_main(), the script also directly executes
bitbake. By doing both this creates all kinds of races. Therefore
change to use subprocess execution in all cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/wic