summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 22:53:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 22:54:09 +0000
commit4006a7f2762ccd5dcbc6cdff49482d4387a73261 (patch)
treebe490b63444d8f4999a2d05b74ea46ace2aa2f7e /meta
parent2e27c4bf233351ecb78c39aa90a87b7b3aeb806d (diff)
downloadpoky-4006a7f2762ccd5dcbc6cdff49482d4387a73261.tar.gz
sanity: Fix int verses string reference
The sanity update code needs to be passed an int, not string. (From OE-Core rev: 390bad905537820f49add855c95d726b5b55c8fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 2 insertions, 2 deletions
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)
147 with open(bblayers_fn, "w") as f: 147 with open(bblayers_fn, "w") as f:
148 f.write(''.join(lines)) 148 f.write(''.join(lines))
149 return 149 return
150 150 current_lconf += 1
151 sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', "7") 151 sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
152 return 152 return
153 153
154 raise NotImplementedError(failmsg) 154 raise NotImplementedError(failmsg)