From 6e30e70d9853d632f9d3d729cace233ed1262ba0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 23 Feb 2017 20:30:13 +0100 Subject: machine configs: don't delete the kernel in /boot The .conf files have been update to no longer deploy the kernel in the rootfs /boot folder. Thus deleting it here makes no longer sense. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-images/images/trdx-image-fstype.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes-images/images/trdx-image-fstype.inc b/recipes-images/images/trdx-image-fstype.inc index 2b0401e..2733d4f 100644 --- a/recipes-images/images/trdx-image-fstype.inc +++ b/recipes-images/images/trdx-image-fstype.inc @@ -118,9 +118,7 @@ imagedeploytools_append_vf() { } imagedeploy_kernel() { - # remove the kernel/dtb from the rootfs/boot if they exist # put kernel, existing device-tree(s) into the bin directories - rm -f ${IMAGE_ROOTFS}/boot/${KERNEL_IMAGETYPE}* ${IMAGE_ROOTFS}/boot/*.dtb cp -pP ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}* ${IMAGE_ROOTFS}/../${MACHINE}_bin/ ls ${DEPLOY_DIR_IMAGE}/*.dtb 2> /dev/null && cp -pP ${DEPLOY_DIR_IMAGE}/*.dtb ${IMAGE_ROOTFS}/../${MACHINE}_bin/ mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/${KERNEL_IMAGETYPE}-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/${KERNEL_IMAGETYPE} -- cgit v1.2.3