]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "lib/oe/image.py: fix working directory"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Feb 2014 08:30:42 +0000 (08:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Feb 2014 08:30:42 +0000 (08:30 +0000)
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).

meta/lib/oe/image.py

index 31193f28dde822687b412cdbfea4454a99ee16f3..c15296f5c0e738d5f1834bb611a58ea278838d95 100644 (file)
@@ -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]: