summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2014-02-17 21:46:28 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:37:17 +0000
commit3f49597225a58965124503ca5f3cc4011b04b3c0 (patch)
treed67ae80c5935bf31f80a00bc7fbf8d7439adcd7d /meta/lib
parentd66b3d8b4ec3d2121ce83adc49fd0ad995bb5a01 (diff)
downloadpoky-3f49597225a58965124503ca5f3cc4011b04b3c0.tar.gz
lib/oe/image.py: fix working directory
The working directory needs to be changed before the image creation commands instead of afterwards. (From OE-Core rev: 9d9bca8785911e8ae06d507bbfb99d6a811f072e) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index c15296f5c0..31193f28dd 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -176,8 +176,8 @@ class Image(object):
176 bb.data.update_data(localdata) 176 bb.data.update_data(localdata)
177 localdata.setVar('type', type) 177 localdata.setVar('type', type)
178 178
179 cmds.append("\t" + localdata.getVar("IMAGE_CMD", True))
180 cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}")) 179 cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
180 cmds.append("\t" + localdata.getVar("IMAGE_CMD", True))
181 181
182 if type in cimages: 182 if type in cimages:
183 for ctype in cimages[type]: 183 for ctype in cimages[type]: