diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-11-08 18:53:34 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:58 +0000 |
commit | e27fd333df69cf13be20f00222a0b3548da5c57c (patch) | |
tree | 54705d369130c63d89ae52ca275bf2a75f2365b5 /meta/classes | |
parent | 216a839e1b5c655772d723bf37bd49a3ca277519 (diff) | |
download | poky-e27fd333df69cf13be20f00222a0b3548da5c57c.tar.gz |
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.
(From OE-Core rev: 65f6fba05b7a28a6af048e79f8355ffc37acd039)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 8c8697761c..e375afbda0 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -178,7 +178,7 @@ def pkgarch_mapping(d): | |||
178 | 178 | ||
179 | def get_layers_branch_rev(d): | 179 | def get_layers_branch_rev(d): |
180 | layers = (d.getVar("BBLAYERS") or "").split() | 180 | layers = (d.getVar("BBLAYERS") or "").split() |
181 | layers_branch_rev = ["%-17s = \"%s:%s\"" % (os.path.basename(i), \ | 181 | layers_branch_rev = ["%-20s = \"%s:%s\"" % (os.path.basename(i), \ |
182 | base_get_metadata_git_branch(i, None).strip(), \ | 182 | base_get_metadata_git_branch(i, None).strip(), \ |
183 | base_get_metadata_git_revision(i, None)) \ | 183 | base_get_metadata_git_revision(i, None)) \ |
184 | for i in layers] | 184 | for i in layers] |
@@ -206,7 +206,7 @@ def buildcfg_vars(d): | |||
206 | for var in statusvars: | 206 | for var in statusvars: |
207 | value = d.getVar(var) | 207 | value = d.getVar(var) |
208 | if value is not None: | 208 | if value is not None: |
209 | yield '%-17s = "%s"' % (var, value) | 209 | yield '%-20s = "%s"' % (var, value) |
210 | 210 | ||
211 | def buildcfg_neededvars(d): | 211 | def buildcfg_neededvars(d): |
212 | needed_vars = oe.data.typed_value("BUILDCFG_NEEDEDVARS", d) | 212 | needed_vars = oe.data.typed_value("BUILDCFG_NEEDEDVARS", d) |