summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
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:06 +0000
commit390bad905537820f49add855c95d726b5b55c8fa (patch)
treecb1119c59937c18fa09b777854f468f892d9223b /meta/classes/sanity.bbclass
parent933088c74870b8c3aa5077d57bc85fc66a652291 (diff)
downloadopenembedded-core-contrib-390bad905537820f49add855c95d726b5b55c8fa.tar.gz
openembedded-core-contrib-390bad905537820f49add855c95d726b5b55c8fa.tar.bz2
openembedded-core-contrib-390bad905537820f49add855c95d726b5b55c8fa.zip
sanity: Fix int verses string reference
The sanity update code needs to be passed an int, not string. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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)
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)