diff options
author | Jonathan Liu <net147@gmail.com> | 2014-02-17 21:46:28 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:37:13 +0000 |
commit | 9d9bca8785911e8ae06d507bbfb99d6a811f072e (patch) | |
tree | 31b2e0dccf5662ef623edd0f90b830bbeda97d7d | |
parent | 704878ba025fda931be6accbb74cfdb14ffb55e9 (diff) | |
download | openembedded-core-9d9bca8785911e8ae06d507bbfb99d6a811f072e.tar.gz openembedded-core-9d9bca8785911e8ae06d507bbfb99d6a811f072e.tar.bz2 openembedded-core-9d9bca8785911e8ae06d507bbfb99d6a811f072e.zip |
lib/oe/image.py: fix working directory
The working directory needs to be changed before the image creation
commands instead of afterwards.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index c15296f5c0..31193f28dd 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("\t" + localdata.getVar("IMAGE_CMD", True)) cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}")) + cmds.append("\t" + localdata.getVar("IMAGE_CMD", True)) if type in cimages: for ctype in cimages[type]: |