From: Marko, Peter Date: Wed, 23 Aug 2017 12:16:29 +0000 (+0200) Subject: staging: add missing import errno to staging_populate_sysroot_dir X-Git-Tag: 2017-10~471 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b1e482ae20b9c714f4089d4da6470d041242e441;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 162c8e9ce4..9d3d2ad9dd 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 = []