mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
lib/oe/image.py: fix working directory
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>
This commit is contained in:
committed by
Richard Purdie
parent
d66b3d8b4e
commit
3f49597225
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user