From e1a37899da56014693f08d1c39cb6ec0a4ed2bf4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 18 Dec 2015 13:50:04 +0000 Subject: buildstats-summary/toaster: Cope with removal of get_bn() The buildstats changes removed the no longer needed get_bn() function, replace this with references to BUILDNAME. Signed-off-by: Richard Purdie --- meta/classes/buildstats-summary.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes/buildstats-summary.bbclass') diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass index 05ead9fdbf..d73350b940 100644 --- a/meta/classes/buildstats-summary.bbclass +++ b/meta/classes/buildstats-summary.bbclass @@ -3,8 +3,7 @@ python buildstats_summary () { import collections import os.path - bn = get_bn(e) - bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) + bsdir = e.data.expand("${BUILDSTATS_BASE}/${BUILDNAME}") if not os.path.exists(bsdir): return -- cgit 1.2.3-korg