From: Richard Purdie Date: Sun, 28 Feb 2016 22:53:03 +0000 (+0000) Subject: sanity: Fix int verses string reference X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26745 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=390bad905537820f49add855c95d726b5b55c8fa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sanity: Fix int verses string reference The sanity update code needs to be passed an int, not string. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index a0553eef878..52581f6ba74 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -147,8 +147,8 @@ is a good way to visualise the changes.""" % (current_lconf, lconf_version) with open(bblayers_fn, "w") as f: f.write(''.join(lines)) return - - sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', "7") + current_lconf += 1 + sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf) return raise NotImplementedError(failmsg)