summaryrefslogtreecommitdiffstats
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
parentac499f0b9f8a421a4e63d2de2a0b89f20c43d81c (diff)
downloadpoky-9f77ba3a7d9e8cd2df177473c1fa301432fd6c01.tar.gz
poky-9f77ba3a7d9e8cd2df177473c1fa301432fd6c01.tar.bz2
poky-9f77ba3a7d9e8cd2df177473c1fa301432fd6c01.zip
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>
-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):
bb.data.update_data(localdata)
localdata.setVar('type', type)
- cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
cmds.append("\t" + localdata.getVar("IMAGE_CMD", True))
+ cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
if type in cimages:
for ctype in cimages[type]: