[OE-core] [PATCH] staging: add missing import errno to staging_populate_sysroot_dir

Marko, Peter Peter.Marko at siemens.com
Thu Aug 24 10:50:26 UTC 2017


Could this be queued also to pyro branch?
It's commit ID b1e482ae20b9c714f4089d4da6470d041242e441

Thanks,
  Peter

> Fixes error "Exception: NameError: name 'errno' is not defined"
> during build-sysroots.bb:do_build_target_sysroot
> 
> Signed-off-by: Marko, Peter <peter.marko at siemens.com>
> ---
>  meta/classes/staging.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 162c8e9..9d3d2ad 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 = []
> --
> 2.1.4




More information about the Openembedded-core mailing list