Otherwise, if bitbake fails, there will be tracebacks later on.
Signed-off-by: Alexander Kanavin <[email protected]>
---
modules/steps.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/steps.py b/modules/steps.py
index 2eb4499..87d7584 100644
--- a/modules/steps.py
+++ b/modules/steps.py
@@ -34,9 +34,9 @@ from errors import *
from buildhistory import BuildHistory
def load_env(devtool, bb, git, opts, pkg_ctx):
- pkg_ctx['env'] = bb.env(pkg_ctx['PN'])
pkg_ctx['workdir'] = os.path.join(pkg_ctx['base_dir'], pkg_ctx['PN'])
os.mkdir(pkg_ctx['workdir'])
+ pkg_ctx['env'] = bb.env(pkg_ctx['PN'])
pkg_ctx['recipe_dir'] = os.path.dirname(pkg_ctx['env']['FILE'])
if pkg_ctx['env']['PV'] == pkg_ctx['NPV']:
--
2.17.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto