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-03 12:43:31 +0100 |
commit | a3fec07654e6992eab96861892d4261b1e2e0ebf (patch) | |
tree | 8e648f5e42eb2bc2f85922dd5888aeb8fb268dce | |
parent | 791a3912d98014105bdb2a8585e4a1b7ae8120b1 (diff) | |
download | poky-a3fec07654e6992eab96861892d4261b1e2e0ebf.tar.gz |
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.
(From OE-Core rev: f8c7542164ebbe29613532c93ddc34c94238453c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): | |||
326 | 326 | ||
327 | return image_cmd_groups | 327 | return image_cmd_groups |
328 | 328 | ||
329 | def _write_env(self): | 329 | def _write_wic_env(self): |
330 | """ | 330 | """ |
331 | Write environment variables used by wic | 331 | Write environment variables used by wic |
332 | to tmp/sysroots/<machine>/imgdata/<image>.env | 332 | to tmp/sysroots/<machine>/imgdata/<image>.env |
@@ -353,7 +353,7 @@ class Image(ImageDepGraph): | |||
353 | 353 | ||
354 | image_cmd_groups = self._get_imagecmds() | 354 | image_cmd_groups = self._get_imagecmds() |
355 | 355 | ||
356 | self._write_env() | 356 | self._write_wic_env() |
357 | 357 | ||
358 | for image_cmds in image_cmd_groups: | 358 | for image_cmds in image_cmd_groups: |
359 | # create the images in parallel | 359 | # create the images in parallel |