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:
parent
011460565f
commit
52da486362
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue