]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sanity: Fix int verses string reference
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 22:53:03 +0000 (22:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 22:54:06 +0000 (22:54 +0000)
The sanity update code needs to be passed an int, not string.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index a0553eef87839801b2c4f1a7a91085f0a6660dca..52581f6ba74e3f4a06508c112b0c5c41fa9a31b9 100644 (file)
@@ -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)