Skip to contentSkip to conversation

master/dylan fix for bogus 'layer' arch in yocto-bsp list

PATCH New Tom Zanussi 1 participant 2 messages Jun 21, 2013

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 yocto-bsp: filter out 'layer' from arch list

In reply to Tom Zanussi

The yocto-layer tool added a new directory alongside the actual architectures and 'common', which is already screened out as not an actual architecture when displaying the architecures.

The same needs to be done for 'layer' which isn't actually an architecuture and likewise needs to be screened out.

Fixes [YOCTO #4735].

---
 scripts/lib/bsp/engine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/bsp/engine.py +1 -1
index 36bd446..681720d 100644
@@ -1674,7 +1674,7 @@ def yocto_bsp_list(args, scripts_path, properties_file):
         arch_path = bsp_path + '/substrate/target/arch'
         print "Architectures available:"
         for arch in os.listdir(arch_path):
-            if arch == "common":
+            if arch == "common" or arch == "layer":
                 continue
             print "    %s" % arch
         return True
Signature · 1 line
1.7.11.4
#0 lore raw

cover master/dylan fix for bogus 'layer' arch in yocto-bsp list

This fixes YOCTO bug #4735 and can be pulled into both master and dylan.

The following changes since commit 011608a7b08c7fe5ad065da5179e1946ce250c57:

bitbake: data_smart: Fix bug with overrides and weak default values (2013-06-21 13:00:57 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/bug-4735-fix
http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/bug-4735-fix

Tom Zanussi (1):
yocto-bsp: filter out 'layer' from arch list

 scripts/lib/bsp/engine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.11.4