The working directory needs to be changed before the image creation
commands instead of afterwards.
(From OE-Core rev:
9d9bca8785911e8ae06d507bbfb99d6a811f072e)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]: