[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7367/8267] staging: add missing import errno to staging_populate_sysroot_dir



commit 859e78cbc719c39cdbbfa77fbaaaa715ed39d864
Author: Marko, Peter <peter marko siemens com>
Date:   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
    
    (From OE-Core rev: b1e482ae20b9c714f4089d4da6470d041242e441)
    
    Signed-off-by: Marko, Peter <peter marko siemens com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/staging.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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 = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]