[oe-commits] [openembedded-core] 85/122: base.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()

git at git.openembedded.org git at git.openembedded.org
Mon Dec 4 17:26:03 UTC 2017


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

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

commit 65f6fba05b7a28a6af048e79f8355ffc37acd039
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Wed Nov 8 18:53:34 2017 -0800

    base.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()
    
    Although it may not appeal so much to users to prefer 80x24 consoles,
    the general trend is for screens to get bigger and the current output
    has started to look a little cramped on a modern HD display.
    
    Increasing from 17 to 20 is obviously arbitrary, but does give enough
    space to cleanly display layers such as "meta-nodejs-contrib" and
    "meta-virtualization" while still keeping the output fairly compact.
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/classes/base.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 8c86977..e375afb 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -178,7 +178,7 @@ def pkgarch_mapping(d):
 
 def get_layers_branch_rev(d):
     layers = (d.getVar("BBLAYERS") or "").split()
-    layers_branch_rev = ["%-17s = \"%s:%s\"" % (os.path.basename(i), \
+    layers_branch_rev = ["%-20s = \"%s:%s\"" % (os.path.basename(i), \
         base_get_metadata_git_branch(i, None).strip(), \
         base_get_metadata_git_revision(i, None)) \
             for i in layers]
@@ -206,7 +206,7 @@ def buildcfg_vars(d):
     for var in statusvars:
         value = d.getVar(var)
         if value is not None:
-            yield '%-17s = "%s"' % (var, value)
+            yield '%-20s = "%s"' % (var, value)
 
 def buildcfg_neededvars(d):
     needed_vars = oe.data.typed_value("BUILDCFG_NEEDEDVARS", d)

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


More information about the Openembedded-commits mailing list