diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-02 23:46:52 +0100 |
commit | f8c7542164ebbe29613532c93ddc34c94238453c (patch) | |
tree | 37f0ff83f402e9e4ffbf20ad303fb625a7b63517 /meta/lib/oe/image.py | |
parent | 872cb0d5d79b26f34e6b35d7be8870d245021be4 (diff) | |
download | openembedded-core-f8c7542164ebbe29613532c93ddc34c94238453c.tar.gz openembedded-core-f8c7542164ebbe29613532c93ddc34c94238453c.tar.bz2 openembedded-core-f8c7542164ebbe29613532c93ddc34c94238453c.zip |
image.py: rename _write_env -> _write_wic_env
Renamed this function as it's too generic name for it.
It writes variables, which are used by wic to .env file,
so _write_wic_env is better name for it.
Thanks Christopher Larson for poining out to this.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.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.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 95c62dca44..5b77306065 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib/oe/image.py @@ -326,7 +326,7 @@ class Image(ImageDepGraph): return image_cmd_groups - def _write_env(self): + def _write_wic_env(self): """ Write environment variables used by wic to tmp/sysroots/<machine>/imgdata/<image>.env @@ -353,7 +353,7 @@ class Image(ImageDepGraph): image_cmd_groups = self._get_imagecmds() - self._write_env() + self._write_wic_env() for image_cmds in image_cmd_groups: # create the images in parallel |