[oe-commits] Richard Purdie : Revert "lib/oe/image.py: fix working directory"

git at git.openembedded.org git at git.openembedded.org
Tue Feb 18 08:28:39 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: b503b428c7996ed96845be5daeca42da1fbb588d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b503b428c7996ed96845be5daeca42da1fbb588d

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Feb 18 08:30:42 2014 +0000

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).

---

 meta/lib/oe/image.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index 31193f2..c15296f 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]:



More information about the Openembedded-commits mailing list