[oe-commits] [openembedded-core] 03/03: staging: add missing import errno to staging_populate_sysroot_dir

git at git.openembedded.org git at git.openembedded.org
Wed Aug 23 12:49:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b1e482ae20b9c714f4089d4da6470d041242e441
Author: Marko, Peter <peter.marko at siemens.com>
AuthorDate: Wed Aug 23 14:16:29 2017 +0200

    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 at siemens.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 = []

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list