aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko, Peter <peter.marko@siemens.com>2017-08-23 14:16:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-23 13:47:49 +0100
commitb1e482ae20b9c714f4089d4da6470d041242e441 (patch)
tree52fd34a60aa9757e5af58208a88574d3a1a0c3cc
parent3e408aadaea85b6f192b34d37d508cbaf3cd7164 (diff)
downloadopenembedded-core-contrib-b1e482ae20b9c714f4089d4da6470d041242e441.tar.gz
openembedded-core-contrib-b1e482ae20b9c714f4089d4da6470d041242e441.tar.bz2
openembedded-core-contrib-b1e482ae20b9c714f4089d4da6470d041242e441.zip
staging: add missing import errno to staging_populate_sysroot_dir
Fixes error "Exception: NameError: name 'errno' is not defined" during build-sysroots.bb:do_build_target_sysroot Signed-off-by: Marko, Peter <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 162c8e9ce4b..9d3d2ad9dd4 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -177,6 +177,7 @@ def staging_processfixme(fixme, target, recipesysroot, recipesysrootnative, d):
def staging_populate_sysroot_dir(targetsysroot, nativesysroot, native, d):
import glob
import subprocess
+ import errno
fixme = []
postinsts = []