From: Richard Purdie Date: Tue, 18 Feb 2014 08:30:42 +0000 (+0000) Subject: Revert "lib/oe/image.py: fix working directory" X-Git-Tag: rev_ivi_2015_02_04~9168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a30f7f841e043eae4e5ec0259fb502b5f5e6aed;p=scm%2Fbb%2Ftizen-distro.git 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 --- 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]: