]> code.ossystems Code Review - openembedded-core.git/commit
image_types.bbclass: Fix tar IMAGE_CMD to not change directories
authorKhem Raj <raj.khem@gmail.com>
Tue, 18 Feb 2014 00:33:29 +0000 (16:33 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Feb 2014 08:37:03 +0000 (08:37 +0000)
commit9a98b8bfe13b94d89a9e39cca821f26fdeaeffc3
tree80fee7092322dd2769b1d0027628b24e6c168f06
parent4c280911373abb8021b1fea6e136df8b4cabdea3
image_types.bbclass: Fix tar IMAGE_CMD to not change directories

below commit

commit 9d9bca8785911e8ae06d507bbfb99d6a811f072e
Author: Jonathan Liu <net147@gmail.com>
Date:   Mon Feb 17 21:46:28 2014 +1100

    lib/oe/image.py: fix working directory

    The working directory needs to be changed before the image creation
    commands instead of afterwards.

exposed an issue when generating tar images, where it would cd into
rootfs and then create the rootfs tarball and remain there since the
cmd to cd into deploy dir moved up the immediate following cmd like
tar.bz2 or tar.gz were still looking for tarball in current directory
which esentially was not deploy dir but IMAGE_ROOTFS instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/classes/image_types.bbclass