From 9f77ba3a7d9e8cd2df177473c1fa301432fd6c01 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Feb 2014 08:30:42 +0000 Subject: 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 --- meta/lib/oe/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib') 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]: -- cgit v1.2.3-54-g00ecf