summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-12-03 21:42:45 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:17:01 +0000
commit0fc667d695e22106540b571c714930cee5a1491f (patch)
tree9cec3bdc4801284c13e608154b6690994442823b /meta/classes
parent85bad95a085b1d24182da16bf472a416ac91e944 (diff)
downloadpoky-0fc667d695e22106540b571c714930cee5a1491f.tar.gz
image-buildinfo: Remove unused function argument
Removes the listvars argument to image_buildinfo_outputvars(). It doesn't appear that this argument ever did anything. (From OE-Core rev: 66ff9408291f3df98e8a6cb3e6e348d7ec8f401d) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image-buildinfo.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/image-buildinfo.bbclass b/meta/classes/image-buildinfo.bbclass
index 87a6a1a489..94c585d4cd 100644
--- a/meta/classes/image-buildinfo.bbclass
+++ b/meta/classes/image-buildinfo.bbclass
@@ -16,9 +16,8 @@ IMAGE_BUILDINFO_VARS ?= "DISTRO DISTRO_VERSION"
16IMAGE_BUILDINFO_FILE ??= "${sysconfdir}/build" 16IMAGE_BUILDINFO_FILE ??= "${sysconfdir}/build"
17 17
18# From buildhistory.bbclass 18# From buildhistory.bbclass
19def image_buildinfo_outputvars(vars, listvars, d): 19def image_buildinfo_outputvars(vars, d):
20 vars = vars.split() 20 vars = vars.split()
21 listvars = listvars.split()
22 ret = "" 21 ret = ""
23 for var in vars: 22 for var in vars:
24 value = d.getVar(var) or "" 23 value = d.getVar(var) or ""
@@ -59,8 +58,7 @@ def buildinfo_target(d):
59 return "" 58 return ""
60 # Single and list variables to be read 59 # Single and list variables to be read
61 vars = (d.getVar("IMAGE_BUILDINFO_VARS") or "") 60 vars = (d.getVar("IMAGE_BUILDINFO_VARS") or "")
62 listvars = (d.getVar("IMAGE_BUILDINFO_LVARS") or "") 61 return image_buildinfo_outputvars(vars, d)
63 return image_buildinfo_outputvars(vars, listvars, d)
64 62
65# Write build information to target filesystem 63# Write build information to target filesystem
66python buildinfo () { 64python buildinfo () {