]> 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)
committerArmin Kuster <akuster808@gmail.com>
Sun, 7 Apr 2019 09:34:45 +0000 (15:04 +0530)
commit2f2d52a958d3e9d511a2f5b8b14ed46466dd0d23
tree97aefbf6673b5537963d26c8ef1fc23df00b274a
parent30b33d787595b8c3120b73c755a432a0f0f30fa7
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.

(From OE-Core rev: 0507ec4c6069490c9a503e9e2b65f0e7b1962d34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/wic