[oe-commits] [openembedded-core] branch master updated: sanity: Fix int verses string reference

git at git.openembedded.org git at git.openembedded.org
Sun Feb 28 22:54:24 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
       new  390bad9   sanity: Fix int verses string reference
390bad9 is described below

commit 390bad905537820f49add855c95d726b5b55c8fa
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Feb 28 22:53:03 2016 +0000

    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 at linuxfoundation.org>
---
 meta/classes/sanity.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index a0553ee..52581f6 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list