From 09deeb2471d2c46f34353dc4ecc3398a7dadf83f Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 23 Jul 2019 17:36:18 -0500 Subject: bb.data.getVar is no d.getVar in thud --- classes/mlinux_metadata_scm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/mlinux_metadata_scm.bbclass b/classes/mlinux_metadata_scm.bbclass index 64da21f..b220344 100644 --- a/classes/mlinux_metadata_scm.bbclass +++ b/classes/mlinux_metadata_scm.bbclass @@ -3,7 +3,7 @@ MLINUX_METADATA_BRANCH = "${@base_get_metadata_git_branch("${OEROOT}",None).stri MLINUX_LAYERS = "${@mlinux_layers(bb,d)}" def mlinux_layers(bb, d): - layers = (bb.data.getVar("BBLAYERS", d, 1) or "").split() + layers = (d.getVar("BBLAYERS", d, 1) or "").split() layer_revs = "" for layer in layers: -- cgit v1.2.3