From 390bad905537820f49add855c95d726b5b55c8fa Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 28 Feb 2016 22:53:03 +0000 Subject: sanity: Fix int verses string reference The sanity update code needs to be passed an int, not string. Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta') diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index a0553eef87..52581f6ba7 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) -- cgit v1.2.3