summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/image.py
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:50:26 +0000
commitfecb07755ca6aec978cac19d5cb17fdc888b0057 (patch)
tree27f41de22af46881008bfbd70e964969ccfcda4e /meta/lib/oe/image.py
parent9167f200ebc4a280c2d60dc9649f0d3be953cb26 (diff)
downloadpoky-fecb07755ca6aec978cac19d5cb17fdc888b0057.tar.gz
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. (From OE-Core rev: 99203fbe5ad470ef65cff93cec9d7f332883b5ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/image.py')
-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):
272 rootfs_size = self._get_rootfs_size() 272 rootfs_size = self._get_rootfs_size()
273 273
274 self.d.setVar('img_creation_func', '\n'.join(cmds)) 274 self.d.setVar('img_creation_func', '\n'.join(cmds))
275 self.d.setVarFlag('img_creation_func', 'func', 1) 275 self.d.setVarFlag('img_creation_func', 'func', '1')
276 self.d.setVarFlag('img_creation_func', 'fakeroot', 1) 276 self.d.setVarFlag('img_creation_func', 'fakeroot', '1')
277 self.d.setVar('ROOTFS_SIZE', str(rootfs_size)) 277 self.d.setVar('ROOTFS_SIZE', str(rootfs_size))
278 278
279 with open(script_name, "w+") as script: 279 with open(script_name, "w+") as script: