meta-digi-arm: simplify do_deploy in linux recipe

change the directory (cd) and make the symbolic link in a subshell to
preserve the current working directory for any subsequent command.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-02-26 11:43:40 +01:00
parent 011460565f
commit 52da486362
1 changed files with 1 additions and 3 deletions

View File

@ -65,9 +65,7 @@ do_configure_prepend() {
}
do_deploy_append() {
cd ${DEPLOYDIR}
ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}
cd -
(cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME})
}
# install nedded headers for imx-test compilation