]> code.ossystems Code Review - openembedded-core.git/commit
image_types.bbclass: fix cpio IMAGE_CMD to preserve working directory
authorJonathan Liu <net147@gmail.com>
Fri, 21 Feb 2014 04:43:38 +0000 (15:43 +1100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Feb 2014 16:14:39 +0000 (16:14 +0000)
commit5ff6cb920f8be9068a23f7bf0cb1b9a9ff1eda5b
tree55672e79608d42d7dcb5fc76ec485c91eda3b0ba
parentade1f3ce34489bba5a7ab23793c1d82559150583
image_types.bbclass: fix cpio IMAGE_CMD to preserve working directory

The working directory is changed in a subshell when executing cpio to
preserve the working directory for any subsequent commands. This is to
keep the working directory consistent when generating multiple image
types.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass