From 52da4863626a04384853e4c7367aab9c9f388a75 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 26 Feb 2014 11:43:40 +0100 Subject: [PATCH] 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 --- meta-digi-arm/recipes-kernel/linux/linux-dey.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index bd30aa907..07b7eb9cb 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -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