summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-10 09:52:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-24 15:49:18 +0000
commit99203fbe5ad470ef65cff93cec9d7f332883b5ee (patch)
treec33f8439f9bd7a65c21cd0e28ebd14cd9dc35164 /meta/lib
parentef7dc532e800d9b170246550cbc8703adf624beb (diff)
downloadopenembedded-core-99203fbe5ad470ef65cff93cec9d7f332883b5ee.tar.gz
openembedded-core-99203fbe5ad470ef65cff93cec9d7f332883b5ee.tar.bz2
openembedded-core-99203fbe5ad470ef65cff93cec9d7f332883b5ee.zip
classes: Ensure pass setVar/setVarFlag strings, not integers
This doesn't cause any issues right now but it make sense to standardise on consistently using strings in the data store. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index b9eb3de5aa..9580562580 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -272,8 +272,8 @@ class Image(ImageDepGraph):
rootfs_size = self._get_rootfs_size()
self.d.setVar('img_creation_func', '\n'.join(cmds))
- self.d.setVarFlag('img_creation_func', 'func', 1)
- self.d.setVarFlag('img_creation_func', 'fakeroot', 1)
+ self.d.setVarFlag('img_creation_func', 'func', '1')
+ self.d.setVarFlag('img_creation_func', 'fakeroot', '1')
self.d.setVar('ROOTFS_SIZE', str(rootfs_size))
with open(script_name, "w+") as script: