summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/image.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-18 08:30:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-18 08:32:48 +0000
commit9f77ba3a7d9e8cd2df177473c1fa301432fd6c01 (patch)
treeb25316d79e8fd76fb06327e0547d5fc6a3201239 /meta/lib/oe/image.py
parentac499f0b9f8a421a4e63d2de2a0b89f20c43d81c (diff)
downloadpoky-9f77ba3a7d9e8cd2df177473c1fa301432fd6c01.tar.gz
Revert "lib/oe/image.py: fix working directory"
This reverts commit 3f49597225a58965124503ca5f3cc4011b04b3c0. This change appears to cause more problems than it fixes since the compression commands usually work in the deploy dir but the archive ones have always worked in the rootfs dir (which is clear from the tar command we use). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/image.py')
-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 31193f28dd..c15296f5c0 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(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
180 cmds.append("\t" + localdata.getVar("IMAGE_CMD", True)) 179 cmds.append("\t" + localdata.getVar("IMAGE_CMD", True))
180 cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
181 181
182 if type in cimages: 182 if type in cimages:
183 for ctype in cimages[type]: 183 for ctype in cimages[type]: